flutter_statusbarcolor
flutter_statusbarcolor copied to clipboard
color status bar disappears, when moving pages (Navigator)
color status bar disappears, when moving pages (Navigator),
when the application starts
when the application moves page(navigator)
I put the code under the main.dart build material design widget
@override Widget build(BuildContext context) { FlutterStatusbarcolor.setNavigationBarColor(Colors.white); FlutterStatusbarcolor.setNavigationBarWhiteForeground(false); FlutterStatusbarcolor.setStatusBarColor(Colors.white); FlutterStatusbarcolor.setStatusBarWhiteForeground(false);
You have to run it before the runApp method.