mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00:39 +00:00
[Android] Made status bar transparent
This commit is contained in:
parent
c7ed4d332e
commit
9be413752a
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Application extends StatelessWidget {
|
||||||
initialPrimaryColor: const Color(0xFF2196f3),
|
initialPrimaryColor: const Color(0xFF2196f3),
|
||||||
builder: (context, child) => AnnotatedRegion(
|
builder: (context, child) => AnnotatedRegion(
|
||||||
value: SystemUiOverlayStyle(
|
value: SystemUiOverlayStyle(
|
||||||
statusBarColor: context.watch<ThemeData>().colorScheme.surface,
|
statusBarColor: Colors.transparent,
|
||||||
statusBarIconBrightness:
|
statusBarIconBrightness:
|
||||||
ThemeData.estimateBrightnessForColor(context.watch<ThemeData>().colorScheme.onSurface),
|
ThemeData.estimateBrightnessForColor(context.watch<ThemeData>().colorScheme.onSurface),
|
||||||
systemNavigationBarColor: context.watch<ThemeData>().colorScheme.surface,
|
systemNavigationBarColor: context.watch<ThemeData>().colorScheme.surface,
|
||||||
|
|
Loading…
Reference in a new issue