So far whenever I needed to use a conditional statement within a Widget I have done the following (Using Center and Containers as simplified dummy examples):
Here is the solution. I have fixed it. Here is the code
child: _status(data[index]["status"]), Widget _status(status) { if (status == "3") { return Text('Process'); } else if(status == "1") { return Text('Order'); } else { return Text("Waiting"); } }