From 5a6a664094c63c92a59c1d3edaf7dca5a1f2db58 Mon Sep 17 00:00:00 2001 From: Kate Lovett Date: Wed, 5 Jun 2019 09:07:53 -0700 Subject: [PATCH] The the doc fix (#33917) --- packages/flutter/lib/src/material/slider_theme.dart | 6 +++--- packages/flutter/lib/src/material/typography.dart | 6 +++--- packages/flutter/lib/src/rendering/editable.dart | 2 +- packages/flutter/lib/src/widgets/actions.dart | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/flutter/lib/src/material/slider_theme.dart b/packages/flutter/lib/src/material/slider_theme.dart index ea320a4f45..8105ed7764 100644 --- a/packages/flutter/lib/src/material/slider_theme.dart +++ b/packages/flutter/lib/src/material/slider_theme.dart @@ -803,9 +803,9 @@ class _EmptySliderTickMarkShape extends SliderTickMarkShape { /// /// See also: /// -/// * [RoundSliderThumbShape], which is the the default thumb shape. -/// * [RoundSliderOverlayShape], which is the the default overlay shape. -/// * [PaddleSliderValueIndicatorShape], which is the the default value +/// * [RoundSliderThumbShape], which is the default thumb shape. +/// * [RoundSliderOverlayShape], which is the default overlay shape. +/// * [PaddleSliderValueIndicatorShape], which is the default value /// indicator shape. abstract class SliderComponentShape { /// Abstract const constructor. This constructor enables subclasses to provide diff --git a/packages/flutter/lib/src/material/typography.dart b/packages/flutter/lib/src/material/typography.dart index 2344dd0357..47c28b23dd 100644 --- a/packages/flutter/lib/src/material/typography.dart +++ b/packages/flutter/lib/src/material/typography.dart @@ -156,7 +156,7 @@ class Typography extends Diagnosticable { /// on the overall [ThemeData.brightness], when the current locale's /// [MaterialLocalizations.scriptCategory] is [ScriptCategory.englishLike]. /// - /// To look up a localized [TextTheme], use the the overall [Theme], for + /// To look up a localized [TextTheme], use the overall [Theme], for /// example: `Theme.of(context).textTheme`. final TextTheme englishLike; @@ -167,7 +167,7 @@ class Typography extends Diagnosticable { /// on the overall [ThemeData.brightness], when the current locale's /// [MaterialLocalizations.scriptCategory] is [ScriptCategory.dense]. /// - /// To look up a localized [TextTheme], use the the overall [Theme], for + /// To look up a localized [TextTheme], use the overall [Theme], for /// example: `Theme.of(context).textTheme`. final TextTheme dense; @@ -177,7 +177,7 @@ class Typography extends Diagnosticable { /// on the overall [ThemeData.brightness], when the current locale's /// [MaterialLocalizations.scriptCategory] is [ScriptCategory.tall]. /// - /// To look up a localized [TextTheme], use the the overall [Theme], for + /// To look up a localized [TextTheme], use the overall [Theme], for /// example: `Theme.of(context).textTheme`. final TextTheme tall; diff --git a/packages/flutter/lib/src/rendering/editable.dart b/packages/flutter/lib/src/rendering/editable.dart index 8b91c6ff2b..664e58b7a5 100644 --- a/packages/flutter/lib/src/rendering/editable.dart +++ b/packages/flutter/lib/src/rendering/editable.dart @@ -1507,7 +1507,7 @@ class RenderEditable extends RenderBox { // should rework this properly to once again match the platform. The constant // _kCaretHeightOffset scales poorly for small font sizes. // - /// On iOS, the cursor is taller than the the cursor on Android. The height + /// On iOS, the cursor is taller than the cursor on Android. The height /// of the cursor for iOS is approximate and obtained through an eyeball /// comparison. Rect get _getCaretPrototype { diff --git a/packages/flutter/lib/src/widgets/actions.dart b/packages/flutter/lib/src/widgets/actions.dart index 2fe5ac6a14..902dd9c741 100644 --- a/packages/flutter/lib/src/widgets/actions.dart +++ b/packages/flutter/lib/src/widgets/actions.dart @@ -220,7 +220,7 @@ class Actions extends InheritedWidget { return inherited?.dispatcher; } - /// Invokes the action associated with the given [Intent] using the the + /// Invokes the action associated with the given [Intent] using the /// [Actions] widget that most tightly encloses the given [BuildContext]. /// /// The `context`, `intent` and `nullOk` arguments must not be null. @@ -230,7 +230,7 @@ class Actions extends InheritedWidget { /// reaches the root. /// /// Will throw if no ambient [Actions] widget is found, or if the given - /// `intent` doesn't map to an action in any of the the [Actions.actions] maps + /// `intent` doesn't map to an action in any of the [Actions.actions] maps /// that are found. /// /// Setting `nullOk` to true means that if no ambient [Actions] widget is