From 64d3937090e929250e22c0dc5ca1ab101320381a Mon Sep 17 00:00:00 2001 From: Hrishikesh Kadam Date: Wed, 1 Nov 2023 04:57:06 +0530 Subject: [PATCH] Fix minor typo in doc of window.dart (#137483) --- packages/flutter_test/lib/src/window.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_test/lib/src/window.dart b/packages/flutter_test/lib/src/window.dart index c292b796e2..5d941f2feb 100644 --- a/packages/flutter_test/lib/src/window.dart +++ b/packages/flutter_test/lib/src/window.dart @@ -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;