File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
best_flutter_ui_templates/lib Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import 'package:best_flutter_ui_templates/app_theme.dart';
33import 'package:flutter/material.dart' ;
44import 'package:flutter/services.dart' ;
55import 'navigation_home_screen.dart' ;
6+ import 'package:flutter/foundation.dart' show kIsWeb;
67
78void main () async {
89 WidgetsFlutterBinding .ensureInitialized ();
@@ -16,7 +17,7 @@ class MyApp extends StatelessWidget {
1617 SystemChrome .setSystemUIOverlayStyle (SystemUiOverlayStyle (
1718 statusBarColor: Colors .transparent,
1819 statusBarIconBrightness: Brightness .dark,
19- statusBarBrightness: Platform .isAndroid ? Brightness .dark : Brightness .light,
20+ statusBarBrightness: ! kIsWeb && Platform .isAndroid ? Brightness .dark : Brightness .light,
2021 systemNavigationBarColor: Colors .white,
2122 systemNavigationBarDividerColor: Colors .grey,
2223 systemNavigationBarIconBrightness: Brightness .dark,
You can’t perform that action at this time.
0 commit comments