[Android] Made status bar transparent

This commit is contained in:
Vadim 2023-01-21 14:18:10 +03:00
parent c7ed4d332e
commit 9be413752a

View file

@ -40,7 +40,7 @@ class Application extends StatelessWidget {
initialPrimaryColor: const Color(0xFF2196f3),
builder: (context, child) => AnnotatedRegion(
value: SystemUiOverlayStyle(
statusBarColor: context.watch<ThemeData>().colorScheme.surface,
statusBarColor: Colors.transparent,
statusBarIconBrightness:
ThemeData.estimateBrightnessForColor(context.watch<ThemeData>().colorScheme.onSurface),
systemNavigationBarColor: context.watch<ThemeData>().colorScheme.surface,