From e08b0a56f91e03d0b6797e770e2f0f886b801bf9 Mon Sep 17 00:00:00 2001 From: Justin McCandless Date: Thu, 1 Aug 2024 13:29:58 -0700 Subject: [PATCH] Quick docs grammar fixes (#152700) Yes I spent my precious time on this. --- packages/flutter/lib/src/material/elevated_button.dart | 2 +- packages/flutter/lib/src/widgets/editable_text.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/material/elevated_button.dart b/packages/flutter/lib/src/material/elevated_button.dart index e7b84ef733..bcaeae510e 100644 --- a/packages/flutter/lib/src/material/elevated_button.dart +++ b/packages/flutter/lib/src/material/elevated_button.dart @@ -172,7 +172,7 @@ class ElevatedButton extends ButtonStyleButton { /// All parameters default to null, by default this method returns /// a [ButtonStyle] that doesn't override anything. /// - /// For example, to override the default text and icon colors for a + /// For example, to override the default text and icon colors for an /// [ElevatedButton], as well as its overlay color, with all of the /// standard opacity adjustments for the pressed, focused, and /// hovered states, one could write: diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index 13d6a87f40..2cbd61931c 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -2226,7 +2226,7 @@ class EditableText extends StatefulWidget { } } -/// State for a [EditableText]. +/// State for an [EditableText]. class EditableTextState extends State with AutomaticKeepAliveClientMixin, WidgetsBindingObserver, TickerProviderStateMixin, TextSelectionDelegate, TextInputClient implements AutofillClient { Timer? _cursorTimer; AnimationController get _cursorBlinkOpacityController {