Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter appbar hide

//Solution 1
appBar: boolTrue ? AppBar(...) : PreferredSize(preferredSize: Size(0.0, 0.0),child: Container(),)

//Solution 2
appBar: boolTrue ? AppBar(...) : null
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #appbar #hide
ADD COMMENT
Topic
Name
5+9 =