brightness property Null safety
Deprecated('This property is no longer used, please use systemOverlayStyle instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')">@Deprecated('This property is no longer used, please use systemOverlayStyle instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')final
This property is deprecated, please use systemOverlayStyle instead.
Determines the brightness of the SystemUiOverlayStyle: for Brightness.dark, SystemUiOverlayStyle.light is used and for Brightness.light, SystemUiOverlayStyle.dark is used.
If this value is null then AppBarTheme.brightness is used and if that's null then overall theme's brightness is used.
The AppBar is built within a AnnotatedRegion<SystemUiOverlayStyle>
which causes SystemChrome.setSystemUIOverlayStyle to be called
automatically. Apps should not enclose the AppBar with
their own AnnotatedRegion.
This property is used to configure an AppBar.
Implementation
@Deprecated(
'This property is no longer used, please use systemOverlayStyle instead. '
'This feature was deprecated after v2.4.0-0.0.pre.',
)
final Brightness? brightness;