From 743fcf7fcc388467e2fdd0a88a45b4d30fa7ecbf Mon Sep 17 00:00:00 2001 From: Tirth Date: Thu, 6 Apr 2023 21:13:21 +0530 Subject: [PATCH] [Docs] Fix Typos (#124249) [Docs] Fix Typos --- packages/flutter/lib/src/material/action_buttons.dart | 4 ++-- packages/flutter/lib/src/widgets/framework.dart | 2 +- packages/flutter/test/widgets/editable_text_test.dart | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter/lib/src/material/action_buttons.dart b/packages/flutter/lib/src/material/action_buttons.dart index 6f8eba7837..b57a801ba4 100644 --- a/packages/flutter/lib/src/material/action_buttons.dart +++ b/packages/flutter/lib/src/material/action_buttons.dart @@ -323,7 +323,7 @@ class DrawerButtonIcon extends StatelessWidget { /// A [DrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the /// close button calls [ScaffoldState.openDrawer] to the [Scaffold.drawer]. /// -/// The default behaviour on press can be overriden with [onPressed]. +/// The default behaviour on press can be overridden with [onPressed]. /// /// See also: /// @@ -388,7 +388,7 @@ class EndDrawerButtonIcon extends StatelessWidget { /// A [EndDrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the /// end drawer button calls [ScaffoldState.openEndDrawer] to open the [Scaffold.endDrawer]. /// -/// The default behaviour on press can be overriden with [onPressed]. +/// The default behaviour on press can be overridden with [onPressed]. /// /// See also: /// diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 526d41cb14..a04790e597 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -4763,7 +4763,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext { /// cheaper. (Additionally, if _any_ subclass of [Widget] used in an /// application implements `operator ==`, then the compiler cannot inline the /// comparison anywhere, because it has to treat the call as virtual just in - /// case the instance happens to be one that has an overriden operator.) + /// case the instance happens to be one that has an overridden operator.) /// /// Instead, the best way to avoid unnecessary rebuilds is to cache the /// widgets that are returned from [State.build], so that each frame the same diff --git a/packages/flutter/test/widgets/editable_text_test.dart b/packages/flutter/test/widgets/editable_text_test.dart index 4de8856cfb..d0235e1115 100644 --- a/packages/flutter/test/widgets/editable_text_test.dart +++ b/packages/flutter/test/widgets/editable_text_test.dart @@ -12997,7 +12997,7 @@ testWidgets('Floating cursor ending with selection', (WidgetTester tester) async await sendUndo(tester); expect(controller.value, composingStep2); - // Waiting for the throttling beetween undos should have no effect. + // Waiting for the throttling between undos should have no effect. await tester.pump(const Duration(milliseconds: 500)); // Undo second insertion.