systemOverlayStyle property

SystemUiOverlayStyle? systemOverlayStyle

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.

This property is used to configure an AppBar.


final SystemUiOverlayStyle? systemOverlayStyle;