Fix minor typo in doc of window.dart (#137483)

This commit is contained in:
Hrishikesh Kadam
2023-11-01 04:57:06 +05:30
committed by GitHub
parent e7726ea6f2
commit 64d3937090

View File

@@ -259,7 +259,7 @@ class TestPlatformDispatcher implements PlatformDispatcher {
set onPlatformBrightnessChanged(VoidCallback? callback) {
_platformDispatcher.onPlatformBrightnessChanged = callback;
}
/// Hides the real text scale factor and reports the given
/// Hides the real platform brightness and reports the given
/// [platformBrightnessTestValue] instead.
set platformBrightnessTestValue(Brightness platformBrightnessTestValue) { // ignore: avoid_setters_without_getters
_platformBrightnessTestValue = platformBrightnessTestValue;