platformBrightnessTestValue property

void platformBrightnessTestValue=(Brightness platformBrightnessTestValue)

Hides the real platform brightness and reports the given platformBrightnessTestValue instead.

Implementation

set platformBrightnessTestValue(Brightness platformBrightnessTestValue) { // ignore: avoid_setters_without_getters
  _platformBrightnessTestValue = platformBrightnessTestValue;
  onPlatformBrightnessChanged?.call();
}