platformBrightness property

Brightness platformBrightness
final

The current brightness mode of the host platform.

For example, starting in Android Pie, battery saver mode asks all apps to render in a "dark mode".

Not all platforms necessarily support a concept of brightness mode. Those platforms will report Brightness.light in this property.

See also:

Implementation

final Brightness platformBrightness;