Unverified Commit 743fcf7f authored by Tirth's avatar Tirth Committed by GitHub

[Docs] Fix Typos (#124249)

[Docs] Fix Typos
parent a086c640
...@@ -323,7 +323,7 @@ class DrawerButtonIcon extends StatelessWidget { ...@@ -323,7 +323,7 @@ class DrawerButtonIcon extends StatelessWidget {
/// A [DrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the /// A [DrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the
/// close button calls [ScaffoldState.openDrawer] to the [Scaffold.drawer]. /// 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: /// See also:
/// ///
...@@ -388,7 +388,7 @@ class EndDrawerButtonIcon extends StatelessWidget { ...@@ -388,7 +388,7 @@ class EndDrawerButtonIcon extends StatelessWidget {
/// A [EndDrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the /// A [EndDrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the
/// end drawer button calls [ScaffoldState.openEndDrawer] to open the [Scaffold.endDrawer]. /// 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: /// See also:
/// ///
......
...@@ -4763,7 +4763,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext { ...@@ -4763,7 +4763,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
/// cheaper. (Additionally, if _any_ subclass of [Widget] used in an /// cheaper. (Additionally, if _any_ subclass of [Widget] used in an
/// application implements `operator ==`, then the compiler cannot inline the /// application implements `operator ==`, then the compiler cannot inline the
/// comparison anywhere, because it has to treat the call as virtual just in /// 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 /// 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 /// widgets that are returned from [State.build], so that each frame the same
......
...@@ -12997,7 +12997,7 @@ testWidgets('Floating cursor ending with selection', (WidgetTester tester) async ...@@ -12997,7 +12997,7 @@ testWidgets('Floating cursor ending with selection', (WidgetTester tester) async
await sendUndo(tester); await sendUndo(tester);
expect(controller.value, composingStep2); 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)); await tester.pump(const Duration(milliseconds: 500));
// Undo second insertion. // Undo second insertion.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment