Skip to content

How can the Android status bar and system navigation bar be made transparent? #208

Closed Answered by rydmike
laterdayi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi again @laterdayi 😄

FlexColorScheme only returns ThemeData and can only impact the SystemUiOverlayStyle via things that are a part of theming. There is only one place where it currently is, the AppBarTheme. In some issue Flutter requests I have wished that we could have more control via themes, but currently we cannot.

If a screen has an AppBar, it can make the Android top status bar transparent. FlexColorScheme actually does so by default in both M2/M3 mode. This is my opinionated choice, since I think it looks much better. In M3 mode the Flutter Android default themed AppBar is actually also transparent by default.

You can actually only see the impact of this toggle in the Themes Pla…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laterdayi
Comment options

Answer selected by rydmike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This issue is a usage question and will be moved to the Discussions section.
2 participants
Converted from issue

This discussion was converted from issue #207 on October 19, 2023 15:37.