Flutter ukryj górny pasek
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom])
Annoyed Antelope
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom])
//Solution 1
appBar: boolTrue ? AppBar(...) : PreferredSize(preferredSize: Size(0.0, 0.0),child: Container(),)
//Solution 2
appBar: boolTrue ? AppBar(...) : null