platformBrightness property
Brightness
get
platformBrightness
The setting indicating the current brightness mode of the host platform. If the platform has no preference, platformBrightness defaults to Brightness.light.
Implementation
Brightness get platformBrightness => _configuration.platformBrightness;