brightness property Null safety
The overall theme brightness.
The default TextStyle color for the textTheme is black if the theme is constructed with Brightness.light and white if the theme is constructed with Brightness.dark.
Implementation
Brightness get brightness => colorScheme.brightness;