Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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, // or use Brightness.dark
),
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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #ios #status #bar #dark
ADD COMMENT
Topic
Name
7+3 =