flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.99k stars 27.19k forks source link

Add systemOverlayStyle to BottomNavigationBarThemeData and BottomAppBarTheme #71747

Open LasseRosenow opened 3 years ago

LasseRosenow commented 3 years ago

Use case

The AppBarTheme just got a new property called systemOverlayStyle which takes a SystemUiOverlayStyle as value. This gives us the ability, to configure if the status bar icons should be black or white, if the status bar overlay should be transparent, or if it should have a color and so on for the entire app wherever the appbar is used.

I think adding this property to the BottomNavigationBar and BottomAppBarwould be very cool, as we could then configure how the SystemNavigationBaris colored. For example we could make it have surface color as background, which would be very cool in dark mode, or we could give it the same color as the AppBarand so on.

In general I think that what the AppBaris to the StatusBaris the same thing as what the BottomAppBar/BottomNavigationBar is to the SystemNavigationBar.

Proposal

Add the systemOverlayStyle to BottomNavigationBarThemeData and BottomAppBarTheme.

phamconganh commented 3 years ago

any update on this issue?

parmarravi commented 3 years ago

Any update?

flutter-triage-bot[bot] commented 5 months ago

This issue is missing a priority label. Please set a priority label when adding the triaged-design label.

HansMuller commented 5 months ago

Making the BottomAppBar more configuration isn't a bad idea but (obviously) we haven't had time to work on this issue. Happy to review a PR.