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):
Lol after months of using ?: I just find out that I can use this:
Column( children: [ if (true) Text('true') else Text('false'), ], )