Issue
I set Scaffold
appBar:
to null
, but the Appbar is grey not white.
return Scaffold(
appBar: null,
body: .......
);
And I also set AppBar color to white but result is same as null
.
How can I make Appbar color be white? Set null is not enough?
Below image is the AppBar of Google Play Store.
Solution
Use AppBar
's systemOverlayStyle
property:
AppBar(
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.white),
)
Answered By - hman_codes
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.