From 01b885401140ac7927becd1fa1a188743ddaa642 Mon Sep 17 00:00:00 2001 From: Binni Goel <41873024+droidbg@users.noreply.github.com> Date: Thu, 2 Nov 2023 01:26:47 +0530 Subject: [PATCH] Fix. typos (#137479) ## Description This PR fixes typos in - `editable_text_show_on_screen_test.dart` - `form_test.dart` - `framework.dart` --- packages/flutter/lib/src/widgets/framework.dart | 2 +- .../flutter/test/widgets/editable_text_show_on_screen_test.dart | 2 +- packages/flutter/test/widgets/form_test.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 0d5fd908cde3..45b9cf7a07c9 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -872,7 +872,7 @@ const String _flutterWidgetsLibrary = 'package:flutter/widgets.dart'; /// objects should override [didUpdateWidget] to respond to changes in their /// associated widget (e.g., to start implicit animations). The framework /// always calls [build] after calling [didUpdateWidget], which means any -/// calls to [setState] in [didUpdateWidget] are redundant. (See alse the +/// calls to [setState] in [didUpdateWidget] are redundant. (See also the /// discussion at [Element.rebuild].) /// * During development, if a hot reload occurs (whether initiated from the /// command line `flutter` tool by pressing `r`, or from an IDE), the diff --git a/packages/flutter/test/widgets/editable_text_show_on_screen_test.dart b/packages/flutter/test/widgets/editable_text_show_on_screen_test.dart index 33b51dc4ccd4..7e9434451239 100644 --- a/packages/flutter/test/widgets/editable_text_show_on_screen_test.dart +++ b/packages/flutter/test/widgets/editable_text_show_on_screen_test.dart @@ -366,7 +366,7 @@ void main() { expect(render.size.height, greaterThan(500.0)); expect(scrollController.offset, 0.0); - // Change selection to non-collapased so that cursor isn't shown + // Change selection to non-collapsed so that cursor isn't shown // and the location requires a bit of scroll. tester.testTextInput.updateEditingValue(TextEditingValue( text: text, diff --git a/packages/flutter/test/widgets/form_test.dart b/packages/flutter/test/widgets/form_test.dart index 6d2996c72364..a7d7da216cd4 100644 --- a/packages/flutter/test/widgets/form_test.dart +++ b/packages/flutter/test/widgets/form_test.dart @@ -78,7 +78,7 @@ void main() { Future checkText(String testValue) async { await tester.enterText(find.byType(TextField), testValue); - // pump'ing is unnecessary because callback happens regardless of frames + // Pumping is unnecessary because callback happens regardless of frames. expect(fieldValue, equals(testValue)); }