From 202fc02ca1d34d8e00e136eba9b5549a799fc0ee Mon Sep 17 00:00:00 2001 From: arfy slowy Date: Sat, 4 Sep 2021 05:09:31 +0700 Subject: [PATCH] fix: typo spelling grammar (#88439) --- packages/flutter/lib/src/material/bottom_navigation_bar.dart | 2 +- packages/flutter/lib/src/rendering/layer.dart | 2 +- packages/flutter_test/lib/src/binding.dart | 2 +- packages/flutter_tools/lib/src/commands/custom_devices.dart | 2 +- .../flutter_tools/test/general.shard/mdns_discovery_test.dart | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/flutter/lib/src/material/bottom_navigation_bar.dart b/packages/flutter/lib/src/material/bottom_navigation_bar.dart index 95ceab736a1..90c82fcfce8 100644 --- a/packages/flutter/lib/src/material/bottom_navigation_bar.dart +++ b/packages/flutter/lib/src/material/bottom_navigation_bar.dart @@ -555,7 +555,7 @@ class _BottomNavigationTile extends StatelessWidget { } -// If the orientaion is landscape and layout is +// If the orientation is landscape and layout is // BottomNavigationBarLandscapeLayout.linear then return a // icon-space-label row, where space is 8 pixels. Otherwise return a // icon-label column. diff --git a/packages/flutter/lib/src/rendering/layer.dart b/packages/flutter/lib/src/rendering/layer.dart index 4ad3f188c43..08a6c293893 100644 --- a/packages/flutter/lib/src/rendering/layer.dart +++ b/packages/flutter/lib/src/rendering/layer.dart @@ -160,7 +160,7 @@ abstract class Layer extends AbstractNode with DiagnosticableTreeMixin { /// imply that it has been removed from its parent. final LayerHandle _parentHandle = LayerHandle(); - /// Incremeneted by [LayerHandle]. + /// Incremented by [LayerHandle]. int _refCount = 0; /// Called by [LayerHandle]. diff --git a/packages/flutter_test/lib/src/binding.dart b/packages/flutter_test/lib/src/binding.dart index 8fdea90caec..c0ed3b9eba3 100644 --- a/packages/flutter_test/lib/src/binding.dart +++ b/packages/flutter_test/lib/src/binding.dart @@ -499,7 +499,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase /// /// If `source` is [TestBindingEventSource.test], then the `event` is based /// in the local coordinate space and the event is likely triggered by - /// programatically simulated pointer events, such as: + /// programmatically simulated pointer events, such as: /// /// * [WidgetController.tap] and alike methods, as well as directly using /// [TestGesture]. They are usually used in diff --git a/packages/flutter_tools/lib/src/commands/custom_devices.dart b/packages/flutter_tools/lib/src/commands/custom_devices.dart index 5219548a52d..4b6d3172203 100644 --- a/packages/flutter_tools/lib/src/commands/custom_devices.dart +++ b/packages/flutter_tools/lib/src/commands/custom_devices.dart @@ -367,7 +367,7 @@ class CustomDevicesAddCommand extends CustomDevicesCommandBase { static const String _kCheck = 'check'; static const String _kSsh = 'ssh'; - // A hostname consists of one or more "names", seperated by a dot. + // A hostname consists of one or more "names", separated by a dot. // A name may consist of alpha-numeric characters. Hyphens are also allowed, // but not as the first or last character of the name. static final RegExp _hostnameRegex = RegExp(r'^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$'); diff --git a/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart b/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart index 36af829061c..35322739e46 100644 --- a/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart +++ b/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart @@ -261,7 +261,7 @@ class FakeMDnsClient extends Fake implements MDnsClient { InternetAddress mDnsAddress, }) async { if (osErrorOnStart) { - throw const OSError('Operation not suppoted on socket', 102); + throw const OSError('Operation not supported on socket', 102); } }