systemOverlayStyle property

SystemUiOverlayStyle? systemOverlayStyle
final

Specifies the style to use for the system overlays (e.g. the status bar on Android or iOS, the system navigation bar on Android).

If this property is null, then AppBarTheme.systemOverlayStyle of ThemeData.appBarTheme is used. If that is also null, an appropriate SystemUiOverlayStyle is calculated based on the backgroundColor.

The AppBar's descendants are built within a AnnotatedRegion<SystemUiOverlayStyle> widget, which causes SystemChrome.setSystemUIOverlayStyle to be called automatically. Apps should not enclose an AppBar with their own AnnotatedRegion. See also:

Implementation

//
/// See also:
///
///  * [AnnotatedRegion], for placing [SystemUiOverlayStyle] in the layer tree.
///  * [SystemChrome.setSystemUIOverlayStyle], the imperative API for setting
///    system overlays style.
final SystemUiOverlayStyle? systemOverlayStyle;