mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
fix: typo spelling grammar (#88439)
This commit is contained in:
parent
e92f7cd8fe
commit
202fc02ca1
@ -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
|
// BottomNavigationBarLandscapeLayout.linear then return a
|
||||||
// icon-space-label row, where space is 8 pixels. Otherwise return a
|
// icon-space-label row, where space is 8 pixels. Otherwise return a
|
||||||
// icon-label column.
|
// icon-label column.
|
||||||
|
@ -160,7 +160,7 @@ abstract class Layer extends AbstractNode with DiagnosticableTreeMixin {
|
|||||||
/// imply that it has been removed from its parent.
|
/// imply that it has been removed from its parent.
|
||||||
final LayerHandle<Layer> _parentHandle = LayerHandle<Layer>();
|
final LayerHandle<Layer> _parentHandle = LayerHandle<Layer>();
|
||||||
|
|
||||||
/// Incremeneted by [LayerHandle].
|
/// Incremented by [LayerHandle].
|
||||||
int _refCount = 0;
|
int _refCount = 0;
|
||||||
|
|
||||||
/// Called by [LayerHandle].
|
/// Called by [LayerHandle].
|
||||||
|
@ -499,7 +499,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
|
|||||||
///
|
///
|
||||||
/// If `source` is [TestBindingEventSource.test], then the `event` is based
|
/// If `source` is [TestBindingEventSource.test], then the `event` is based
|
||||||
/// in the local coordinate space and the event is likely triggered by
|
/// 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
|
/// * [WidgetController.tap] and alike methods, as well as directly using
|
||||||
/// [TestGesture]. They are usually used in
|
/// [TestGesture]. They are usually used in
|
||||||
|
@ -367,7 +367,7 @@ class CustomDevicesAddCommand extends CustomDevicesCommandBase {
|
|||||||
static const String _kCheck = 'check';
|
static const String _kCheck = 'check';
|
||||||
static const String _kSsh = 'ssh';
|
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,
|
// A name may consist of alpha-numeric characters. Hyphens are also allowed,
|
||||||
// but not as the first or last character of the name.
|
// 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])$');
|
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])$');
|
||||||
|
@ -261,7 +261,7 @@ class FakeMDnsClient extends Fake implements MDnsClient {
|
|||||||
InternetAddress mDnsAddress,
|
InternetAddress mDnsAddress,
|
||||||
}) async {
|
}) async {
|
||||||
if (osErrorOnStart) {
|
if (osErrorOnStart) {
|
||||||
throw const OSError('Operation not suppoted on socket', 102);
|
throw const OSError('Operation not supported on socket', 102);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user