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):
With a button
bool _paused = false; CupertinoButton( child: _paused ? Text('Play') : Text('Pause'), color: Colors.blue, onPressed: () { setState(() { _paused = !_paused; }); }, ),