systemNavigationBarColor ← appBar.backgroundColor
Makes the system navigation bar color (on Android) follow the color of the appBar (and hence of the spaces bar). See also https://gitlab.com/famedly/fluffychat/-/issues/699.
This commit is contained in:
parent
eba271f8ae
commit
5884effc7f
1 changed files with 2 additions and 1 deletions
|
|
@ -146,7 +146,8 @@ class _FluffyChatAppState extends State<FluffyChatApp> {
|
|||
SystemChrome.setSystemUIOverlayStyle(
|
||||
SystemUiOverlayStyle(
|
||||
statusBarColor: Colors.transparent,
|
||||
systemNavigationBarColor: Theme.of(context).backgroundColor,
|
||||
systemNavigationBarColor:
|
||||
Theme.of(context).appBarTheme.backgroundColor,
|
||||
systemNavigationBarIconBrightness:
|
||||
Theme.of(context).brightness == Brightness.light
|
||||
? Brightness.dark
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue