Correct misspellings throughout the codebase (#79500)
diff --git a/dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart b/dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart
index 3da9315..23a263d 100644
--- a/dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart
+++ b/dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart
@@ -53,7 +53,7 @@
'$mavenUrl instead');
}
- section('Checking overriden maven URL');
+ section('Checking overridden maven URL');
mavenUrl = await eval(
gradlewExecutable,
<String>['printEngineMavenUrl', '-q'],
@@ -63,7 +63,7 @@
);
if (mavenUrl != 'https://my.special.proxy/download.flutter.io') {
- throw TaskResult.failure('Expected overriden Android engine maven '
+ throw TaskResult.failure('Expected overridden Android engine maven '
'dependency URL to resolve to proxy location '
'https://my.special.proxy/download.flutter.io. Got '
'$mavenUrl instead');
diff --git a/dev/integration_tests/web_e2e_tests/lib/text_editing_main.dart b/dev/integration_tests/web_e2e_tests/lib/text_editing_main.dart
index 18e9cd3..a19902f 100644
--- a/dev/integration_tests/web_e2e_tests/lib/text_editing_main.dart
+++ b/dev/integration_tests/web_e2e_tests/lib/text_editing_main.dart
@@ -31,7 +31,7 @@
class _MyHomePageState extends State<MyHomePage> {
String infoText = 'no-enter';
- // Controller with no inital value;
+ // Controller with no initial value;
final TextEditingController _emptyController = TextEditingController();
final TextEditingController _controller =
diff --git a/packages/flutter/lib/src/cupertino/form_row.dart b/packages/flutter/lib/src/cupertino/form_row.dart
index 519cbb9..8e42c7d 100644
--- a/packages/flutter/lib/src/cupertino/form_row.dart
+++ b/packages/flutter/lib/src/cupertino/form_row.dart
@@ -30,7 +30,7 @@
/// The [helper] and [error] parameters are both optional widgets targeted at
/// displaying more information about the row. Both widgets are placed
/// underneath the [prefix] and [child], and will expand the row's height to
-/// accomodate for their presence. When a [Text] is given to [error], it will
+/// accommodate for their presence. When a [Text] is given to [error], it will
/// be shown in [CupertinoColors.destructiveRed] coloring and
/// medium-weighted font.
///
@@ -96,7 +96,7 @@
/// The [helper] and [error] parameters are both optional widgets targeted at
/// displaying more information about the row. Both widgets are placed
/// underneath the [prefix] and [child], and will expand the row's height to
- /// accomodate for their presence. When a [Text] is given to [error], it will
+ /// accommodate for their presence. When a [Text] is given to [error], it will
/// be shown in [CupertinoColors.destructiveRed] coloring and
/// medium-weighted font.
const CupertinoFormRow({
diff --git a/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart b/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart
index fe962f2..4cd2528 100644
--- a/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart
+++ b/packages/flutter/lib/src/cupertino/text_selection_toolbar.dart
@@ -218,7 +218,7 @@
// top and bottom. Since _kToolbarHeight includes the height of one arrow, the
// total height that the child is given is that plus one more arrow height.
// The extra height on the opposite side of the arrow will be clipped out. By
- // using this appraoch, the buttons don't need any special padding that
+ // using this approach, the buttons don't need any special padding that
// depends on isAbove.
final BoxConstraints _heightConstraint = BoxConstraints.tightFor(
height: _kToolbarHeight + _kToolbarArrowSize.height,
diff --git a/packages/flutter/lib/src/gestures/velocity_tracker.dart b/packages/flutter/lib/src/gestures/velocity_tracker.dart
index 2e3a057..8a09e3f 100644
--- a/packages/flutter/lib/src/gestures/velocity_tracker.dart
+++ b/packages/flutter/lib/src/gestures/velocity_tracker.dart
@@ -311,7 +311,7 @@
// Computes the velocity using 2 adjacent points in history. When index = 0,
// it uses the latest point recorded and the point recorded immediately before
- // it. The smaller index is, the ealier in history the points used are.
+ // it. The smaller index is, the earlier in history the points used are.
Offset _previousVelocityAt(int index) {
final int endIndex = (_index + index) % _sampleSize;
final int startIndex = (_index + index - 1) % _sampleSize;
diff --git a/packages/flutter/lib/src/material/search.dart b/packages/flutter/lib/src/material/search.dart
index 194c04c..18d77a3 100644
--- a/packages/flutter/lib/src/material/search.dart
+++ b/packages/flutter/lib/src/material/search.dart
@@ -69,7 +69,7 @@
/// The search page always shows an [AppBar] at the top where users can
/// enter their search queries. The buttons shown before and after the search
/// query text field can be customized via [SearchDelegate.buildLeading]
-/// and [SearchDelegate.buildActions]. Additonally, a widget can be placed
+/// and [SearchDelegate.buildActions]. Additionally, a widget can be placed
/// across the bottom of the [AppBar] via [SearchDelegate.buildBottom].
///
/// The body below the [AppBar] can either show suggested queries (returned by
diff --git a/packages/flutter/lib/src/painting/image_resolution.dart b/packages/flutter/lib/src/painting/image_resolution.dart
index 72b4f2d..bb81c10 100644
--- a/packages/flutter/lib/src/painting/image_resolution.dart
+++ b/packages/flutter/lib/src/painting/image_resolution.dart
@@ -281,7 +281,7 @@
return _findBestVariant(mapping, config.devicePixelRatio!);
}
- // Returns the "best" asset variant amongst the availabe `candidates`.
+ // Returns the "best" asset variant amongst the available `candidates`.
//
// The best variant is chosen as follows:
// - Choose a variant whose key matches `value` exactly, if available.
diff --git a/packages/flutter/lib/src/painting/shader_warm_up.dart b/packages/flutter/lib/src/painting/shader_warm_up.dart
index b1919e0..b6921bf 100644
--- a/packages/flutter/lib/src/painting/shader_warm_up.dart
+++ b/packages/flutter/lib/src/painting/shader_warm_up.dart
@@ -127,7 +127,7 @@
/// Defaults to 0.0.
///
/// When changing this value, the [canvasSize] must also be changed to
- /// accomodate the bigger canvas.
+ /// accommodate the bigger canvas.
final double drawCallSpacing;
/// The [size] of the canvas required to paint the shapes in [warmUpOnCanvas].
diff --git a/packages/flutter/lib/src/rendering/layout_helper.dart b/packages/flutter/lib/src/rendering/layout_helper.dart
index d0bb135..6e34236 100644
--- a/packages/flutter/lib/src/rendering/layout_helper.dart
+++ b/packages/flutter/lib/src/rendering/layout_helper.dart
@@ -21,7 +21,7 @@
const ChildLayoutHelper._();
/// Returns the [Size] that the [RenderBox] would have if it were to
- /// be layed out with the given [BoxConstraints].
+ /// be laid out with the given [BoxConstraints].
///
/// This method calls [RenderBox.getDryLayout] on the given [RenderBox].
///
diff --git a/packages/flutter/lib/src/rendering/shifted_box.dart b/packages/flutter/lib/src/rendering/shifted_box.dart
index f19c81e..50db662 100644
--- a/packages/flutter/lib/src/rendering/shifted_box.dart
+++ b/packages/flutter/lib/src/rendering/shifted_box.dart
@@ -654,7 +654,7 @@
/// When [child] is null, this [RenderBox] takes the smallest possible size and
/// never overflows.
///
-/// This [RenderBox] can be used to ensure some of [child]'s natrual dimensions
+/// This [RenderBox] can be used to ensure some of [child]'s natural dimensions
/// are honored, and get an early warning during development otherwise. For
/// instance, if [child] requires a minimum height to fully display its content,
/// [constraintsTransform] can be set to a function that removes the `maxHeight`
diff --git a/packages/flutter/lib/src/rendering/sliver_persistent_header.dart b/packages/flutter/lib/src/rendering/sliver_persistent_header.dart
index 5aa14f9..bd4be01 100644
--- a/packages/flutter/lib/src/rendering/sliver_persistent_header.dart
+++ b/packages/flutter/lib/src/rendering/sliver_persistent_header.dart
@@ -754,7 +754,7 @@
showOnScreen.maxShowOnScreenExtent,
)
// Clamp the value back to the valid range after applying additional
- // constriants. Contracting is not allowed.
+ // constraints. Contracting is not allowed.
.clamp(childExtent, effectiveMaxExtent);
// Expands the header if needed, with animation.
diff --git a/packages/flutter/lib/src/services/deferred_component.dart b/packages/flutter/lib/src/services/deferred_component.dart
index ad6f74e..46e8434 100644
--- a/packages/flutter/lib/src/services/deferred_component.dart
+++ b/packages/flutter/lib/src/services/deferred_component.dart
@@ -10,7 +10,7 @@
///
/// Deferred components allow Flutter applications to download precompiled AOT
/// dart code and assets at runtime, reducing the install size of apps and
-/// avoiding installing unnessecary code/assets on end user devices. Common
+/// avoiding installing unnecessary code/assets on end user devices. Common
/// use cases include deferring installation of advanced or infrequently
/// used features and limiting locale specific features to users of matching
/// locales. Deferred components can only deliver split off parts of the same
diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart
index 6f133a0..b06e30a 100644
--- a/packages/flutter/lib/src/widgets/basic.dart
+++ b/packages/flutter/lib/src/widgets/basic.dart
@@ -2336,7 +2336,7 @@
/// When [child] is null, this widget becomes as small as possible and never
/// overflows
///
-/// This widget can be used to ensure some of [child]'s natrual dimensions are
+/// This widget can be used to ensure some of [child]'s natural dimensions are
/// honored, and get an early warning otherwise during development. For
/// instance, if [child] requires a minimum height to fully display its content,
/// [constraintsTransform] can be set to [maxHeightUnconstrained], so that if
@@ -2346,8 +2346,8 @@
///
/// {@tool snippet}
/// In the following snippet, the [Card] is guaranteed to be at least as tall as
-/// its "natrual" height. Unlike [UnconstrainedBox], it will become taller if
-/// its "natrual" height is smaller than 40 px. If the [Container] isn't high
+/// its "natural" height. Unlike [UnconstrainedBox], it will become taller if
+/// its "natural" height is smaller than 40 px. If the [Container] isn't high
/// enough to show the full content of the [Card], in debug mode a warning will
/// be given.
///
diff --git a/packages/flutter/lib/src/widgets/drag_target.dart b/packages/flutter/lib/src/widgets/drag_target.dart
index 4d462d6..8e0f7e6 100644
--- a/packages/flutter/lib/src/widgets/drag_target.dart
+++ b/packages/flutter/lib/src/widgets/drag_target.dart
@@ -68,7 +68,7 @@
/// Signature for the strategy that determines the drag start point.
///
-/// Used for the built-in strategies switched via [DragAnchor] and the optinally
+/// Used for the built-in strategies switched via [DragAnchor] and the optimally
/// injectable [Draggable.dragAnchorStrategy]
typedef DragAnchorStrategy = Offset Function(Draggable<Object> draggable, BuildContext context, Offset position);
diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart
index 7d18739..06f37f7 100644
--- a/packages/flutter/lib/src/widgets/editable_text.dart
+++ b/packages/flutter/lib/src/widgets/editable_text.dart
@@ -2240,9 +2240,9 @@
// send unrecognized exceptions to the engine/platform. Make sure the
// exceptions that user callbacks throw are handled within this method.
void _formatAndSetValue(TextEditingValue newTextEditingValue, SelectionChangedCause? cause, {bool userInteraction = false}) {
- // Only apply input formatters if the text has changed (including uncommited
- // text in the composing region), or when the user committed the composing
- // text.
+ // Only apply input formatters if the text has changed (including
+ // uncommitted text in the composing region), or when the user committed
+ // the composing text.
// Gboard is very persistent in restoring the composing region. Applying
// input formatters on composing-region-only changes (except clearing the
// current composing region) is very infinite-loop-prone: the formatters
diff --git a/packages/flutter/test/cupertino/text_selection_toolbar_button_test.dart b/packages/flutter/test/cupertino/text_selection_toolbar_button_test.dart
index 7f8aef5..6d8c8ea 100644
--- a/packages/flutter/test/cupertino/text_selection_toolbar_button_test.dart
+++ b/packages/flutter/test/cupertino/text_selection_toolbar_button_test.dart
@@ -41,7 +41,7 @@
),
);
- // Originall at full opacity.
+ // Original at full opacity.
FadeTransition opacity = tester.widget(find.descendant(
of: find.byType(CupertinoTextSelectionToolbarButton),
matching: find.byType(FadeTransition),
diff --git a/packages/flutter/test/rendering/sliver_fixed_extent_layout_test.dart b/packages/flutter/test/rendering/sliver_fixed_extent_layout_test.dart
index 7ae3329..9a77446 100644
--- a/packages/flutter/test/rendering/sliver_fixed_extent_layout_test.dart
+++ b/packages/flutter/test/rendering/sliver_fixed_extent_layout_test.dart
@@ -98,7 +98,7 @@
expect(actual, 5);
});
- test('should be 0 when offset is 0.00000001 times greater than item extent where the divison will return more than 13 zero decimals', () {
+ test('should be 0 when offset is 0.00000001 times greater than item extent where the division will return more than 13 zero decimals', () {
final int actual = testGetMaxChildIndexForScrollOffset(
genericItemExtent + extraValueToHaveRoundingIssues, genericItemExtent);
expect(actual, 0);
diff --git a/packages/flutter/test/widgets/scroll_position_test.dart b/packages/flutter/test/widgets/scroll_position_test.dart
index 746a9f7..46ed97b 100644
--- a/packages/flutter/test/widgets/scroll_position_test.dart
+++ b/packages/flutter/test/widgets/scroll_position_test.dart
@@ -224,7 +224,7 @@
expect(controller.position.pixels, equals(0.0));
});
- testWidgets('jumpTo recomends deferred loading', (WidgetTester tester) async {
+ testWidgets('jumpTo recommends deferred loading', (WidgetTester tester) async {
int loadedWithDeferral = 0;
int buildCount = 0;
const double height = 500;
diff --git a/packages/flutter/test/widgets/text_golden_test.dart b/packages/flutter/test/widgets/text_golden_test.dart
index 45d7008..194c974 100644
--- a/packages/flutter/test/widgets/text_golden_test.dart
+++ b/packages/flutter/test/widgets/text_golden_test.dart
@@ -565,7 +565,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
child: Checkbox(value: false, onChanged: null),
),
@@ -837,7 +837,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
alignment: PlaceholderAlignment.baseline,
baseline: TextBaseline.alphabetic,
@@ -944,7 +944,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
alignment: PlaceholderAlignment.aboveBaseline,
baseline: TextBaseline.alphabetic,
@@ -1051,7 +1051,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
alignment: PlaceholderAlignment.belowBaseline,
baseline: TextBaseline.alphabetic,
@@ -1158,7 +1158,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
alignment: PlaceholderAlignment.top,
baseline: TextBaseline.alphabetic,
@@ -1265,7 +1265,7 @@
),
),
),
- TextSpan(text: 'hello world! sieze the day!'),
+ TextSpan(text: 'hello world! seize the day!'),
WidgetSpan(
alignment: PlaceholderAlignment.middle,
baseline: TextBaseline.alphabetic,
diff --git a/packages/flutter_test/lib/src/binding.dart b/packages/flutter_test/lib/src/binding.dart
index fca099e..bdd115a 100644
--- a/packages/flutter_test/lib/src/binding.dart
+++ b/packages/flutter_test/lib/src/binding.dart
@@ -227,13 +227,13 @@
@protected
bool get disableShadows => false;
- /// Determines whether the Dart [HttpClient] class should be overriden to
+ /// Determines whether the Dart [HttpClient] class should be overridden to
/// always return a failure response.
///
/// By default, this value is true, so that unit tests will not become flaky
- /// due to intermitten network errors. The value may be overriden by a binding
- /// intended for use in integration tests that do end to end application
- /// testing, including working with real network responses.
+ /// due to intermittent network errors. The value may be overridden by a
+ /// binding intended for use in integration tests that do end to end
+ /// application testing, including working with real network responses.
@protected
bool get overrideHttpClient => true;
@@ -284,7 +284,7 @@
/// typically used in `flutter test`), this advances the fake [clock] for the
/// period and also increases timeout (see [addTime]).
///
- /// In the live test environemnt ([LiveTestWidgetsFlutterBinding], typically
+ /// In the live test environment ([LiveTestWidgetsFlutterBinding], typically
/// used for `flutter run` and for [e2e](https://pub.dev/packages/e2e)), it is
/// equivalent as [Future.delayed].
Future<void> delayed(Duration duration);
@@ -1293,7 +1293,7 @@
/// Strictly show only frames that are explicitly pumped.
///
/// This most closely matches the [AutomatedTestWidgetsFlutterBinding]
- /// (the defualt binding for `flutter test`) behavior.
+ /// (the default binding for `flutter test`) behavior.
onlyPumps,
/// Show pumped frames, and additionally schedule and run frames to fade
diff --git a/packages/flutter_test/lib/src/controller.dart b/packages/flutter_test/lib/src/controller.dart
index 52ec8ab..64cc389 100644
--- a/packages/flutter_test/lib/src/controller.dart
+++ b/packages/flutter_test/lib/src/controller.dart
@@ -910,7 +910,7 @@
if (renderObject is! RenderBox) {
throw FlutterError(
'The finder "$finder" (used in a call to "$callee()") found an element whose corresponding render object is not a RenderBox (it is a ${renderObject.runtimeType}: "$renderObject"). '
- 'Unfortunately "$callee()" only supports targetting widgets that correspond to RenderBox objects in the rendering.'
+ 'Unfortunately "$callee()" only supports targeting widgets that correspond to RenderBox objects in the rendering.'
);
}
final RenderBox box = element.renderObject! as RenderBox;
diff --git a/packages/flutter_tools/gradle/aar_init_script.gradle b/packages/flutter_tools/gradle/aar_init_script.gradle
index cc2bbe6..1ac0599 100644
--- a/packages/flutter_tools/gradle/aar_init_script.gradle
+++ b/packages/flutter_tools/gradle/aar_init_script.gradle
@@ -110,7 +110,7 @@
// This method mimics the logic in AGP when `android.defaultPublishConfig` is set in `build.gradle`:
// https://android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/variant/VariantHelper.java
//
-// Unfortunately, `android.defaultPublishConfig` cannot be overriden at this point since
+// Unfortunately, `android.defaultPublishConfig` cannot be overridden at this point since
// AGP already run this code.
void overrideDefaultPublishConfig(Project project, variant) {
String variantName = variant.name.capitalize()
diff --git a/packages/flutter_tools/lib/src/android/deferred_components_validator.dart b/packages/flutter_tools/lib/src/android/deferred_components_validator.dart
index fb2e265..f8123dd 100644
--- a/packages/flutter_tools/lib/src/android/deferred_components_validator.dart
+++ b/packages/flutter_tools/lib/src/android/deferred_components_validator.dart
@@ -84,7 +84,7 @@
/// Returns true if there were any recommended changes that should
/// be applied.
///
- /// Retuns false if no problems or recommendations were detected.
+ /// Returns false if no problems or recommendations were detected.
///
/// If no checks are run, then this will default to false and will remain so
/// until a failing check finishes running.
diff --git a/packages/flutter_tools/lib/src/build_info.dart b/packages/flutter_tools/lib/src/build_info.dart
index 2715549..9ff3d31 100644
--- a/packages/flutter_tools/lib/src/build_info.dart
+++ b/packages/flutter_tools/lib/src/build_info.dart
@@ -768,7 +768,7 @@
/// control character on windows command lines.
///
/// When decoding this string, it can be safely split on commas, since any
-/// user provided commans will still be encoded.
+/// user provided commands will still be encoded.
///
/// If the presence of the `/` character ends up being an issue, this can
/// be changed to use base32 instead.
diff --git a/packages/flutter_tools/lib/src/build_system/depfile.dart b/packages/flutter_tools/lib/src/build_system/depfile.dart
index d1a1b33..5ee0278 100644
--- a/packages/flutter_tools/lib/src/build_system/depfile.dart
+++ b/packages/flutter_tools/lib/src/build_system/depfile.dart
@@ -22,7 +22,7 @@
/// Given an [depfile] File, write the depfile contents.
///
/// If both [inputs] and [outputs] are empty, ensures the file does not
- /// exist. This can be overriden with the [writeEmpty] parameter when
+ /// exist. This can be overridden with the [writeEmpty] parameter when
/// both static and runtime dependencies exist and it is not desired
/// to force a rerun due to no depfile.
void writeToFile(Depfile depfile, File output, {bool writeEmpty = false}) {
diff --git a/packages/flutter_tools/lib/src/web/memory_fs.dart b/packages/flutter_tools/lib/src/web/memory_fs.dart
index f787173..8891428 100644
--- a/packages/flutter_tools/lib/src/web/memory_fs.dart
+++ b/packages/flutter_tools/lib/src/web/memory_fs.dart
@@ -8,7 +8,7 @@
import '../base/utils.dart';
import '../convert.dart';
-/// A psuedo-filesystem stored in memory.
+/// A pseudo-filesystem stored in memory.
///
/// To support output to arbitrary multi-root file schemes, the frontend server
/// will output web sources, sourcemaps, and metadata to concatenated single files
diff --git a/packages/flutter_tools/test/general.shard/build_system/source_test.dart b/packages/flutter_tools/test/general.shard/build_system/source_test.dart
index 0d9d042..248ca0e 100644
--- a/packages/flutter_tools/test/general.shard/build_system/source_test.dart
+++ b/packages/flutter_tools/test/general.shard/build_system/source_test.dart
@@ -44,7 +44,7 @@
});
});
- test('configures implicit vs explict correctly', () => testbed.run(() {
+ test('configures implicit vs explicit correctly', () => testbed.run(() {
expect(const Source.pattern('{PROJECT_DIR}/foo').implicit, false);
expect(const Source.pattern('{PROJECT_DIR}/*foo').implicit, true);
}));
diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart
index 221644c..11c3d10 100644
--- a/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart
+++ b/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart
@@ -20,7 +20,7 @@
fileSystem.file('inputs/a.txt').createSync();
fileSystem.file('inputs/b.txt').createSync();
fileSystem.file('foo/c.txt').createSync(recursive: true);
- // Sould not be copied.
+ // Should not be copied.
fileSystem.file('inputs/d.txt').createSync();
final Depfile depfile = unpackDesktopArtifacts(
diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart
index db38c3f..a0b98d3 100644
--- a/packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart
+++ b/packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart
@@ -129,7 +129,7 @@
expect(environment.outputDir.childDirectory('assets')
.childFile('AssetManifest.json').existsSync(), true);
- // Update to arbitary resource file triggers rebuild.
+ // Update to arbitrary resource file triggers rebuild.
webResources.childFile('foo.txt').writeAsStringSync('B');
await const WebReleaseBundle().build(environment);
diff --git a/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart b/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart
index 5c8db1a..7616831 100644
--- a/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart
+++ b/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart
@@ -1233,7 +1233,7 @@
when<String>(emptyStdoutProcessResult.stderr as String).thenReturn('');
});
- testUsingContext('does not throw on non-existant ssh config', () async {
+ testUsingContext('does not throw on non-existent ssh config', () async {
final FuchsiaDevice device = FuchsiaDevice('123');
expect(await device.sdkNameAndVersion, equals('Fuchsia'));
}, overrides: <Type, Generator>{
diff --git a/packages/flutter_tools/test/general.shard/version_test.dart b/packages/flutter_tools/test/general.shard/version_test.dart
index a88b186..3046627 100644
--- a/packages/flutter_tools/test/general.shard/version_test.dart
+++ b/packages/flutter_tools/test/general.shard/version_test.dart
@@ -534,7 +534,7 @@
expect(gitTagVersion.frameworkVersionFor('abcd1234'), stableTag);
});
- testUsingContext('determine favors stable tag over dev tag if both idenitfy HEAD', () {
+ testUsingContext('determine favors stable tag over dev tag if both identify HEAD', () {
const String stableTag = '1.2.3';
final FakeProcessManager fakeProcessManager = FakeProcessManager.list(
<FakeCommand>[
diff --git a/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart b/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart
index 853bb84..d8e8c88 100644
--- a/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart
+++ b/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart
@@ -259,7 +259,7 @@
// Sets up the mock environment for a Windows 10 SDK query.
//
// registryPresent controls whether or not the registry key is found.
-// filesPresent controles where or not there are any SDK folders at the location
+// filesPresent controls where or not there are any SDK folders at the location
// returned by the registry query.
void setMockSdkRegResponse(
FileSystem fileSystem,
diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md
index 44ee9ac..e315c97 100644
--- a/packages/integration_test/README.md
+++ b/packages/integration_test/README.md
@@ -241,7 +241,7 @@
popd
```
-You can verify locally that your tests are succesful by running the following command:
+You can verify locally that your tests are successful by running the following command:
```sh
xcodebuild test-without-building -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos14.3-arm64.xctestrun" -destination id=<YOUR_DEVICE_ID>
diff --git a/packages/integration_test/lib/common.dart b/packages/integration_test/lib/common.dart
index ea0f2ec..8840ac1 100644
--- a/packages/integration_test/lib/common.dart
+++ b/packages/integration_test/lib/common.dart
@@ -293,6 +293,6 @@
/// The extra data for the reported result.
Map<String, dynamic>? get reportData;
- /// Whether all the test methods completed succesfully.
+ /// Whether all the test methods completed successfully.
Completer<bool> get allTestsPassed;
}
diff --git a/packages/integration_test/test/binding_test.dart b/packages/integration_test/test/binding_test.dart
index 19d0962..a8a1e12 100644
--- a/packages/integration_test/test/binding_test.dart
+++ b/packages/integration_test/test/binding_test.dart
@@ -104,7 +104,7 @@
tearDownAll(() async {
// This part is outside the group so that `request` has been compeleted as
- // part of the `tearDownAll` registerred in the group during
+ // part of the `tearDownAll` registered in the group during
// `IntegrationTestWidgetsFlutterBinding` initialization.
final Map<String, dynamic> response =
(await request)!['response'] as Map<String, dynamic>;