platformBrightnessTestValue property Null safety

void platformBrightnessTestValue=(Brightness platformBrightnessTestValue)

Hides the real text scale factor and reports the given platformBrightnessTestValue instead.

Implementation

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