brightness property Null safety
This property is obsolete, please use systemOverlayStyle instead.
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
which causes SystemChrome.setSystemUIOverlayStyle to be called
automatically. Apps should not enclose the AppBar with
their own AnnotatedRegion.
- Theme.of, which returns the current overall Material theme as a ThemeData.
- ThemeData.colorScheme, the thirteen colors that most Material widget default colors are based on.
- ColorScheme.brightness, which indicates if the overall Theme is light or dark.
- backwardsCompatibility, which forces AppBar to use this obsolete property.
final Brightness? brightness;