Skip to content

Commit e0956cb

Browse files
najeiraxster
authored andcommitted
remove "the" duplications (flutter#14952)
1 parent 614df69 commit e0956cb

File tree

19 files changed

+24
-24
lines changed

19 files changed

+24
-24
lines changed

examples/flutter_gallery/lib/demo/animation/home.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class _SnappingScrollPhysics extends ClampingScrollPhysics {
407407
return _toZeroScrollOffsetSimulation(offset, dragVelocity);
408408
} else {
409409
// The user ended the drag with little or no velocity. If they
410-
// didn't leave the the offset above midScrollOffset, then
410+
// didn't leave the offset above midScrollOffset, then
411411
// snap to midScrollOffset if they're more than halfway there,
412412
// otherwise snap to zero.
413413
final double snapThreshold = midScrollOffset / 2.0;

packages/flutter/lib/src/gestures/velocity_tracker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Velocity {
7979
/// A two dimensional velocity estimate.
8080
///
8181
/// VelocityEstimates are computed by [VelocityTracker.getVelocityEstimate]. An
82-
/// estimate's [confidence] measures how well the the velocity tracker's position
82+
/// estimate's [confidence] measures how well the velocity tracker's position
8383
/// data fit a straight line, [duration] is the time that elapsed between the
8484
/// first and last position sample used to compute the velocity, and [offset]
8585
/// is similarly the difference between the first and last positions.

packages/flutter/lib/src/material/app_bar.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget {
209209
final List<Widget> actions;
210210

211211
/// This widget is stacked behind the toolbar and the tabbar. It's height will
212-
/// be the same as the the app bar's overall height.
212+
/// be the same as the app bar's overall height.
213213
///
214214
/// A flexible space isn't actually flexible unless the [AppBar]'s container
215215
/// changes the [AppBar]'s size. A [SliverAppBar] in a [CustomScrollView]
@@ -795,7 +795,7 @@ class SliverAppBar extends StatefulWidget {
795795
final List<Widget> actions;
796796

797797
/// This widget is stacked behind the toolbar and the tabbar. It's height will
798-
/// be the same as the the app bar's overall height.
798+
/// be the same as the app bar's overall height.
799799
///
800800
/// Typically a [FlexibleSpaceBar]. See [FlexibleSpaceBar] for details.
801801
final Widget flexibleSpace;

packages/flutter/lib/src/material/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class MaterialButton extends StatelessWidget {
229229
/// The color to use for this button's text.
230230
final Color textColor;
231231

232-
/// The the button's fill color, displayed by its [Material], while the button
232+
/// The button's fill color, displayed by its [Material], while the button
233233
/// is in its default (unpressed, enabled) state.
234234
///
235235
/// Defaults to null, meaning that the color is automatically derived from the [Theme].

packages/flutter/lib/src/material/tabs.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class _DragAnimation extends Animation<double> with AnimationWithParentMixin<dou
446446
}
447447
}
448448

449-
// This class, and TabBarScrollController, only exist to handle the the case
449+
// This class, and TabBarScrollController, only exist to handle the case
450450
// where a scrollable TabBar has a non-zero initialIndex. In that case we can
451451
// only compute the scroll position's initial scroll offset (the "correct"
452452
// pixels value) after the TabBar viewport width and scroll limits are known.
@@ -476,7 +476,7 @@ class _TabBarScrollPosition extends ScrollPositionWithSingleContext {
476476
}
477477
}
478478

479-
// This class, and TabBarScrollPosition, only exist to handle the the case
479+
// This class, and TabBarScrollPosition, only exist to handle the case
480480
// where a scrollable TabBar has a non-zero initialIndex.
481481
class _TabBarScrollController extends ScrollController {
482482
_TabBarScrollController(this.tabBar);

packages/flutter/lib/src/painting/borders.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class BorderSide {
135135
///
136136
/// The `t` argument represents the multiplicand, or the position on the
137137
/// timeline for an interpolation from nothing to `this`, with 0.0 meaning
138-
/// that the the object returned should be the nil variant of this object, 1.0
138+
/// that the object returned should be the nil variant of this object, 1.0
139139
/// meaning that no change should be applied, returning `this` (or something
140140
/// equivalent to `this`), and other values meaning that the object should be
141141
/// multiplied by `t`. Negative values are treated like zero.
@@ -328,7 +328,7 @@ abstract class ShapeBorder {
328328
///
329329
/// The `t` argument represents the multiplicand, or the position on the
330330
/// timeline for an interpolation from nothing to `this`, with 0.0 meaning
331-
/// that the the object returned should be the nil variant of this object, 1.0
331+
/// that the object returned should be the nil variant of this object, 1.0
332332
/// meaning that no change should be applied, returning `this` (or something
333333
/// equivalent to `this`), and other values meaning that the object should be
334334
/// multiplied by `t`. Negative values are allowed but may be meaningless

packages/flutter/lib/src/rendering/flex.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
642642
final bool canFlex = maxMainSize < double.INFINITY;
643643

644644
double crossSize = 0.0;
645-
double allocatedSize = 0.0; // Sum of the sizes of the the non-flexible children.
645+
double allocatedSize = 0.0; // Sum of the sizes of the non-flexible children.
646646
RenderBox child = firstChild;
647647
RenderBox lastFlexChild;
648648
while (child != null) {

packages/flutter/lib/src/rendering/object.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im
18541854
/// Mark this render object as having changed its visual appearance.
18551855
///
18561856
/// Rather than eagerly updating this render object's display list
1857-
/// in response to writes, we instead mark the the render object as needing to
1857+
/// in response to writes, we instead mark the render object as needing to
18581858
/// paint, which schedules a visual update. As part of the visual update, the
18591859
/// rendering pipeline will give this render object an opportunity to update
18601860
/// its display list.

packages/flutter/lib/src/rendering/table_border.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class TableBorder {
120120
///
121121
/// The `t` argument represents the multiplicand, or the position on the
122122
/// timeline for an interpolation from nothing to `this`, with 0.0 meaning
123-
/// that the the object returned should be the nil variant of this object, 1.0
123+
/// that the object returned should be the nil variant of this object, 1.0
124124
/// meaning that no change should be applied, returning `this` (or something
125125
/// equivalent to `this`), and other values meaning that the object should be
126126
/// multiplied by `t`. Negative values are treated like zero.

packages/flutter/lib/src/services/text_editing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class TextSelection extends TextRange {
147147
/// Might be larger than, smaller than, or equal to base.
148148
final int extentOffset;
149149

150-
/// If the the text range is collapsed and has more than one visual location
150+
/// If the text range is collapsed and has more than one visual location
151151
/// (e.g., occurs at a line break), which of the two locations to use when
152152
/// painting the caret.
153153
final TextAffinity affinity;

0 commit comments

Comments
 (0)