Fixed a lot of typos (#141431)

Fair amount of typos spotted and fixed. Some of them are in comments, some of them are in code and some of them are in nondart files.

There is no need for issues since it's a typo fix.

I have doubts about [packages/flutter_tools/lib/src/ios/core_devices.dart](https://github.com/flutter/flutter/compare/master...anisalibegic:flutter:master#diff-fdbc1496b4bbe7e2b445a567fd385677af861c0093774e3d8cc460fdd5b794fa), I have a feeling it might broke some things on the other end, even though it's a typo.
This commit is contained in:
Anis Alibegić
2024-01-12 23:10:25 +01:00
committed by GitHub
parent 8f797fc379
commit 81d80c587d
59 changed files with 125 additions and 125 deletions

View File

@@ -58,7 +58,7 @@ class _AsyncAutocompleteState extends State<_AsyncAutocomplete > {
final Iterable<String> options = await _FakeAPI.search(_searchingWithQuery!);
// If another search happened after this one, throw away these options.
// Use the previous options intead and wait for the newer request to
// Use the previous options instead and wait for the newer request to
// finish.
if (_searchingWithQuery != textEditingValue.text) {
return _lastOptions;

View File

@@ -30,7 +30,7 @@ class ListenableBuilderExample extends StatefulWidget {
class _ListenableBuilderExampleState extends State<ListenableBuilderExample> {
final ListModel _listNotifier = ListModel();
final math.Random _random = math.Random(0); // fixed seed for reproducability
final math.Random _random = math.Random(0); // fixed seed for reproducibility
@override
Widget build(BuildContext context) {

View File

@@ -100,7 +100,7 @@ void main() {
const example.NavigationRailExampleApp(),
);
// Test badge wthout label.
// Test badge without label.
final Badge notificationBadge = tester.firstWidget(find.ancestor(
of: find.byIcon(Icons.bookmark_border),
matching: find.byType(Badge),

View File

@@ -34,7 +34,7 @@ void main() {
// Get the initial size of the ListView
final Size listViewInitialSize = tester.getSize(listViewFinder);
// Drag the the sheet from anywhere inside the sheet to change the sheet position
// Drag the sheet from anywhere inside the sheet to change the sheet position
await tester.drag(listViewFinder, const Offset(0.0, -100.0));
await tester.pump();