Skip to content

Commit c5e71b3

Browse files
authored
fix some typos (flutter#137144)
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* fix some typos *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
1 parent 4dd4890 commit c5e71b3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/api/lib/material/autocomplete/autocomplete.4.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class _AsyncAutocompleteState extends State<_AsyncAutocomplete > {
6060
// Whether to consider the fake network to be offline.
6161
bool _networkEnabled = true;
6262

63-
// A network error was recieved on the most recent query.
63+
// A network error was received on the most recent query.
6464
bool _networkError = false;
6565

6666
// Calls the "remote" API to search with the given query. Returns null when

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import 'toggleable.dart';
1212
// bool _throwShotAway = false;
1313
// late StateSetter setState;
1414

15-
// The relative values needed to transform a color to it's equivilant focus
15+
// The relative values needed to transform a color to it's equivalent focus
1616
// outline color.
1717
const double _kCupertinoFocusColorOpacity = 0.80;
1818
const double _kCupertinoFocusColorBrightness = 0.69;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Size _size = Size(18.0, 18.0);
1818
const double _kOuterRadius = 7.0;
1919
const double _kInnerRadius = 2.975;
2020

21-
// The relative values needed to transform a color to its equivilant focus
21+
// The relative values needed to transform a color to its equivalent focus
2222
// outline color.
2323
const double _kCupertinoFocusColorOpacity = 0.80;
2424
const double _kCupertinoFocusColorBrightness = 0.69;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ abstract class RenderObject with DiagnosticableTreeMixin implements HitTestTarge
20512051
/// in its [performLayout] implementation.
20522052
///
20532053
/// This method is used to implement an assert that ensures the render subtree
2054-
/// actively performing layout can not get accidently mutated. It's only
2054+
/// actively performing layout can not get accidentally mutated. It's only
20552055
/// implemented in debug mode and always returns null in release mode.
20562056
///
20572057
/// The default implementation returns [parent] and overriding is rarely

packages/flutter/lib/src/semantics/semantics_event.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class TapSemanticEvent extends SemanticsEvent {
161161
/// Using this API is generally not recommended, as it may break a users' expectation of
162162
/// how a11y focus works and therefore should be just very carefully.
163163
///
164-
/// One possibile use case:
164+
/// One possible use case:
165165
/// For example, the currently focused rendering object is replaced by another rendering
166166
/// object. In general, such design should be avoided if possible. If not, one may want
167167
/// to refocus the newly added rendering object.

0 commit comments

Comments
 (0)