Skip to content

Commit c35efda

Browse files
asashourgoderbauer
andauthored
Remove superfluous words. (#119008)
* Remove superfluous words. * Update packages/flutter/lib/src/widgets/slotted_render_object_widget.dart Co-authored-by: Michael Goderbauer <[email protected]>
1 parent 64b4c69 commit c35efda

File tree

17 files changed

+19
-19
lines changed

17 files changed

+19
-19
lines changed

examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class FallbackFocusNode {
9191
///
9292
/// A global registrar like [FallbackKeyEventRegistrar] is almost always needed
9393
/// when patching [KeyEventManager.keyMessageHandler]. This is because
94-
/// [FallbackFocus] will add and and remove callbacks constantly, but
94+
/// [FallbackFocus] will add and remove callbacks constantly, but
9595
/// [KeyEventManager.keyMessageHandler] can only be patched once, and can not
9696
/// be unpatched. Therefore [FallbackFocus] must not directly interact with
9797
/// [KeyEventManager.keyMessageHandler], but through a separate registrar that

packages/flutter/lib/src/cupertino/switch.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class CupertinoSwitch extends StatefulWidget {
127127

128128
/// The color to use for the focus highlight for keyboard interactions.
129129
///
130-
/// Defaults to a a slightly transparent [activeColor].
130+
/// Defaults to a slightly transparent [activeColor].
131131
final Color? focusColor;
132132

133133
/// {@template flutter.cupertino.CupertinoSwitch.applyTheme}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ const bool _kDebugMenus = false;
4444
// has a submenu.
4545
const double _kDefaultSubmenuIconSize = 24;
4646

47-
// The default spacing between the the leading icon, label, trailing icon, and
47+
// The default spacing between the leading icon, label, trailing icon, and
4848
// shortcut label in a _MenuItemLabel.
4949
const double _kLabelItemDefaultSpacing = 12;
5050

51-
// The minimum spacing between the the leading icon, label, trailing icon, and
51+
// The minimum spacing between the leading icon, label, trailing icon, and
5252
// shortcut label in a _MenuItemLabel.
5353
const double _kLabelItemMinSpacing = 4;
5454

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ class _NavigationDestinationInfo extends InheritedWidget {
595595
/// when label behavior is [NavigationDestinationLabelBehavior.onlyShowSelected].
596596
final int selectedIndex;
597597

598-
/// How many total destinations are are in this navigation bar.
598+
/// How many total destinations are in this navigation bar.
599599
///
600600
/// This is required for semantics, so that each destination can have a label
601601
/// "Tab 1 of 4", for example.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ class _NavigationDrawerDestinationInfo extends InheritedWidget {
488488
/// "Tab 1 of 3", for example.
489489
final int index;
490490

491-
/// How many total destinations are are in this navigation drawer.
491+
/// How many total destinations are in this navigation drawer.
492492
///
493493
/// This is required for semantics, so that each destination can have a label
494494
/// "Tab 1 of 4", for example.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class BorderSide with Diagnosticable {
130130
///
131131
/// Values typically range from -1.0 ([strokeAlignInside], inside border,
132132
/// default) to 1.0 ([strokeAlignOutside], outside border), without any
133-
/// bound constraints (e.g., a value of -2.0 is is not typical, but allowed).
133+
/// bound constraints (e.g., a value of -2.0 is not typical, but allowed).
134134
/// A value of 0 ([strokeAlignCenter]) will center the border on the edge
135135
/// of the widget.
136136
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ KeyDataTransitMode? debugKeyEventSimulatorTransitModeOverride;
1717

1818
/// Profile and print statistics on Platform Channel usage.
1919
///
20-
/// When this is is true statistics about the usage of Platform Channels will be
20+
/// When this is true statistics about the usage of Platform Channels will be
2121
/// printed out periodically to the console and Timeline events will show the
2222
/// time between sending and receiving a message (encoding and decoding time
2323
/// excluded).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ abstract class TextEditingDelta with Diagnosticable {
9393
// 'world'{replacementDestinationEnd, replacementDestinationStart + replacementSourceEnd}
9494
// can be considered an insertion. In this case we inserted 'd'.
9595
//
96-
// Similarly for a a deletion, say we are currently composing the word: 'worl'.
96+
// Similarly for a deletion, say we are currently composing the word: 'worl'.
9797
// Our current state is 'world|' with the cursor at the end of 'd'. If we
9898
// press backspace to delete the character 'd', the platform will tell us 'world'
9999
// was replaced with 'worl' at range (0,5). Here we can check if the text found

packages/flutter/lib/src/widgets/display_feature_sub_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class DisplayFeatureSubScreen extends StatelessWidget {
125125

126126
/// Returns the areas of the screen that are obstructed by display features.
127127
///
128-
/// A [DisplayFeature] obstructs the screen when the the area it occupies is
128+
/// A [DisplayFeature] obstructs the screen when the area it occupies is
129129
/// not 0 or the `state` is [DisplayFeatureState.postureHalfOpened].
130130
static Iterable<Rect> avoidBounds(MediaQueryData mediaQuery) {
131131
return mediaQuery.displayFeatures

packages/flutter/lib/src/widgets/selectable_region.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ class SelectableRegionState extends State<SelectableRegion> with TextSelectionDe
506506
/// is not pending or users end their gestures.
507507
void _triggerSelectionEndEdgeUpdate() {
508508
// This method can be called when the drag is not in progress. This can
509-
// happen if the the child scrollable returns SelectionResult.pending, and
509+
// happen if the child scrollable returns SelectionResult.pending, and
510510
// the selection area scheduled a selection update for the next frame, but
511511
// the drag is lifted before the scheduled selection update is run.
512512
if (_scheduledSelectionEndEdgeUpdate || !_userDraggingSelectionEnd) {
@@ -559,7 +559,7 @@ class SelectableRegionState extends State<SelectableRegion> with TextSelectionDe
559559
/// is not pending or users end their gestures.
560560
void _triggerSelectionStartEdgeUpdate() {
561561
// This method can be called when the drag is not in progress. This can
562-
// happen if the the child scrollable returns SelectionResult.pending, and
562+
// happen if the child scrollable returns SelectionResult.pending, and
563563
// the selection area scheduled a selection update for the next frame, but
564564
// the drag is lifted before the scheduled selection update is run.
565565
if (_scheduledSelectionStartEdgeUpdate || !_userDraggingSelectionStart) {

0 commit comments

Comments
 (0)