-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
hi!
i set my theme data in main.dart like this:
Widget buildApp(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.green[700],
systemNavigationBarColor: Colors.green[700],
statusBarBrightness: Brightness.light));
return OverlaySupport.global(
child: MaterialApp(
theme: ThemeData(primarySwatch: Colors.green),
home: HomePage(),
navigatorKey: NavigationService.instance.navigationKey,
));
}
so i set the appbar a bit darker then the default color...

after i call flutter animated dialog popup, the background of the dialog gets a bit darker(gray?)

and when i close it, it override the SystemChrome settings.. the appbar is now only green and not Colors.green[700] like before

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels