systemOverlayStyle property Null safety

SystemUiOverlayStyle? systemOverlayStyle

Specifies the style to use for the system overlays that overlap the AppBar.

This property is only used if backwardsCompatibility is false (the default).

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:


/// See also:
///  * [SystemChrome.setSystemUIOverlayStyle]
final SystemUiOverlayStyle? systemOverlayStyle;