platformBrightnessTestValue property Null safety

void platformBrightnessTestValue=(Brightness platformBrightnessTestValue)
Deprecated('Use platformDispatcher.platformBrightnessTestValue instead. ' 'This feature was deprecated after v2.11.0-0.0.pre.')">@Deprecated('Use platformDispatcher.platformBrightnessTestValue instead. ' 'This feature was deprecated after v2.11.0-0.0.pre.')

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

Implementation

@Deprecated(
  'Use platformDispatcher.platformBrightnessTestValue instead. '
  'This feature was deprecated after v2.11.0-0.0.pre.'
)
set platformBrightnessTestValue(ui.Brightness platformBrightnessTestValue) { // ignore: avoid_setters_without_getters
  platformDispatcher.platformBrightnessTestValue = platformBrightnessTestValue;
}