Skip to content

Commit 80a2b6b

Browse files
authored
Fix typos (flutter#82589)
1 parent 660ec20 commit 80a2b6b

44 files changed

Lines changed: 55 additions & 55 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dev/bots/analyze_sample_code.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class SampleCheckerException implements Exception {
164164
class SampleChecker {
165165
/// Creates a [SampleChecker].
166166
///
167-
/// The positional argument is the path to the the package directory for the
167+
/// The positional argument is the path to the package directory for the
168168
/// flutter package within the Flutter root dir.
169169
///
170170
/// The optional `tempDirectory` argument supplies the location for the

dev/devicelab/lib/framework/cocoon.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ typedef ProcessRunSync = ProcessResult Function(
2929
/// Class for test runner to interact with Flutter's infrastructure service, Cocoon.
3030
///
3131
/// Cocoon assigns bots to run these devicelab tasks on real devices.
32-
/// To retrieve these results, the test runner needs to send results back so so the database can be updated.
32+
/// To retrieve these results, the test runner needs to send results back so the database can be updated.
3333
class Cocoon {
3434
Cocoon({
3535
String serviceAccountTokenPath,

dev/integration_tests/flutter_gallery/lib/demo/animation/home.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,15 @@ class _AllSectionsView extends AnimatedWidget {
288288
Widget _build(BuildContext context, BoxConstraints constraints) {
289289
final Size size = constraints.biggest;
290290

291-
// The layout's progress from from a column to a row. Its value is
291+
// The layout's progress from a column to a row. Its value is
292292
// 0.0 when size.height equals the maxHeight, 1.0 when the size.height
293293
// equals the midHeight.
294294
final double tColumnToRow =
295295
1.0 - ((size.height - midHeight!) /
296296
(maxHeight! - midHeight!)).clamp(0.0, 1.0);
297297

298298

299-
// The layout's progress from from the midHeight row layout to
299+
// The layout's progress from the midHeight row layout to
300300
// a minHeight row layout. Its value is 0.0 when size.height equals
301301
// midHeight and 1.0 when size.height equals minHeight.
302302
final double tCollapsed =

dev/tools/gen_keycodes/data/keyboard_key.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class KeyboardKey with Diagnosticable {
3838
/// As an example, if you wanted to implement an app where the "Q" key "quit"
3939
/// something, you'd want to look at the logical key to detect this, since you
4040
/// would like to have it match the key with "Q" on it, instead of always
41-
/// looking for "the key next next to the TAB key", since on a French keyboard,
41+
/// looking for "the key next to the TAB key", since on a French keyboard,
4242
/// the key next to the TAB key has an "A" on it.
4343
///
4444
/// Conversely, if you wanted a game where the key next to the CAPS LOCK (the
@@ -393,7 +393,7 @@ class LogicalKeyboardKey extends KeyboardKey {
393393
/// Conversely, if you wanted to implement an app where the "Q" key "quit"
394394
/// something, you'd want to look at the logical key to detect this, since you
395395
/// would like to have it match the key with "Q" on it, instead of always
396-
/// looking for "the key next next to the TAB key", since on a French keyboard,
396+
/// looking for "the key next to the TAB key", since on a French keyboard,
397397
/// the key next to the TAB key has an "A" on it.
398398
///
399399
/// {@tool dartpad --template=stateful_widget_scaffold}

dev/tools/gen_keycodes/lib/physical_key_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PhysicalKeyData {
8787
/// # key 101 "KEY_LINEFEED"
8888
/// key 477 F12 FUNCTION
8989
///
90-
/// We parse the commented out lines as well as the non-commented lines, so so
90+
/// We parse the commented out lines as well as the non-commented lines, so
9191
/// that we can get names for all of the available scan codes, not just ones
9292
/// defined for the generic profile.
9393
///

packages/flutter/lib/src/animation/curves.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ class Curves {
14421442
/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in.mp4}
14431443
static const Cubic easeIn = Cubic(0.42, 0.0, 1.0, 1.0);
14441444

1445-
/// A cubic animation curve that starts starts slowly and ends linearly.
1445+
/// A cubic animation curve that starts slowly and ends linearly.
14461446
///
14471447
/// The symmetric animation to [linearToEaseOut].
14481448
///

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ class CupertinoIcons {
766766
/// * [time_solid], which is similar, but without dots on the clock face.
767767
static const IconData clock_solid = IconData(0xf4bf, fontFamily: iconFont, fontPackage: iconFontPackage);
768768

769-
/// <i class='cupertino-icons md-36'>clock</i> &#x2014; Cupertino icon for a circle with with a 90 degree angle shape in the center, resembling a clock with hands showing 09:00.
769+
/// <i class='cupertino-icons md-36'>clock</i> &#x2014; Cupertino icon for a circle with a 90 degree angle shape in the center, resembling a clock with hands showing 09:00.
770770
/// This is the same icon as [clock] in cupertino_icons 1.0.0+.
771771
///
772772
/// See also:
@@ -776,7 +776,7 @@ class CupertinoIcons {
776776
/// * [clock_solid], which is similar, but filled in and with dots on the clock face.
777777
static const IconData time = IconData(0xf402, fontFamily: iconFont, fontPackage: iconFontPackage);
778778

779-
/// <i class='cupertino-icons md-36'>clock_fill</i> &#x2014; Cupertino icon for a filled in circle with with a 90 degree angle shape in the center, resembling a clock with hands showing 09:00.
779+
/// <i class='cupertino-icons md-36'>clock_fill</i> &#x2014; Cupertino icon for a filled in circle with a 90 degree angle shape in the center, resembling a clock with hands showing 09:00.
780780
/// This is the same icon as [clock_fill] and [clock_solid] in cupertino_icons 1.0.0+.
781781
///
782782
/// See also:

packages/flutter/lib/src/foundation/diagnostics.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum DiagnosticLevel {
3232
/// the diagnostics to be formatted consistently with other diagnostics and
3333
/// they should expect them to sometimes be misleading. For example,
3434
/// [FlagProperty] and [ObjectFlagProperty] have uglier formatting when the
35-
/// property `value` does does not match a value with a custom flag
35+
/// property `value` does not match a value with a custom flag
3636
/// description. An example of a misleading diagnostic is a diagnostic for
3737
/// a property that has no effect because some other property of the object is
3838
/// set in a way that causes the hidden property to have no effect.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class ElevatedButton extends ButtonStyleButton {
237237
/// "Theme.foo" is shorthand for `Theme.of(context).foo`. Color
238238
/// scheme values like "onSurface(0.38)" are shorthand for
239239
/// `onSurface.withOpacity(0.38)`. [MaterialStateProperty] valued
240-
/// properties that are not followed by by a sublist have the same
240+
/// properties that are not followed by a sublist have the same
241241
/// value for all states, otherwise the values are as specified for
242242
/// each state, and "others" means all other states.
243243
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ abstract class MaterialLocalizations {
448448
/// Tooltip used to put the time picker into [TimePickerEntryMode.input].
449449
String get inputTimeModeButtonLabel;
450450

451-
/// The semantics label used to indicate which account is signed in in the
451+
/// The semantics label used to indicate which account is signed in the
452452
/// [UserAccountsDrawerHeader] widget.
453453
String get signedInLabel;
454454

0 commit comments

Comments
 (0)