How to hide the Android Status Bar in a Flutter App?
This comment from Jonah Williams might be helpful in some situations as well https://github.com/flutter/flutter/issues/24472#issuecomment-440015464 if you don't want the status bar color be overridden by the AppBar.
You cannot provide a status bar color to the app bar, but you can create your own annotated region. It's not very intuitive right now, but you can use
sized: falseto override the child annotated region created by the app bar.Somewhere, perhaps as a child of the scaffold:
Scaffold( body: AnnotatedRegion( value: const SystemUiOverlayStyle(...), sized: false, child: ... ) ); Note that not all Android versions support status bar color or icon brightness. See the documentation on SystemUiOverlayStyle for the caveats.