-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash overrides navigation bar color in Android #23
Labels
bug
Something isn't working
Comments
Please provide more information. |
FlashBar overrides navigation bar color with black if I set it with SystemChrome.setSystemUIOverlayStyle Example codevoid main() {
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
systemNavigationBarColor: Colors.white,
systemNavigationBarIconBrightness: Brightness.dark,
));
runApp(App());
}
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Demo',
home: Scaffold(
appBar: AppBar(
title: const Text('Demo'),
),
body: Overlay(initialEntries: [
OverlayEntry(
builder: (context) => Center(
child: ElevatedButton(
onPressed: () => showFlash(
context: context,
builder: (context, controller) => Flash(
controller: controller,
child: FlashBar(
message: const Text('This is FlashBar'),
),
),
),
child: const Text('Show FlashBar'),
),
),
),
]),
),
);
}
} |
Thank you for fixing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As title
This only happens if position is FlashPosition.bottom
The text was updated successfully, but these errors were encountered: