status bar dark flutter code example
Example 1: color of status bar flutter
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.white
));
Example 2: flutter ios status bar is dark
@Antoine Basically you can set your theme Brightness, or you can manually override the appbar brightness using the following :
appBar: new AppBar(
title: new Text(widget.title),
brightness: Brightness.light,
),
Do note that this will only switch between white and black status text color.
.dark will make the status bar text WHITE, while .light will make the status bar text BLACK
Maybe for a more custom color, like the comment said you can view SystemChrome class.