platformBrightness property

Brightness? platformBrightness
final

Used to determine the device's brightness. On Windows devices with dark mode, the Platform Brightness is incorrectly indicated as Brightness.light even with dark mode enabled on the device

Implementation

final Brightness? platformBrightness;