Fixed large amount of spelling errors (#83744)
This commit is contained in:
@@ -10,7 +10,7 @@ Future<void> main() async {
|
||||
const MethodChannel channel = MethodChannel('com.example.abstract_method_smoke_test');
|
||||
await channel.invokeMethod<void>('show_keyboard');
|
||||
runApp(const MyApp());
|
||||
print('Test suceeded');
|
||||
print('Test succeeded');
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
|
||||
@@ -13,5 +13,5 @@ void main() {
|
||||
),
|
||||
),
|
||||
);
|
||||
print('Test suceeded');
|
||||
print('Test succeeded');
|
||||
}
|
||||
|
||||
@@ -78,7 +78,9 @@ public class MainActivity extends FlutterActivity {
|
||||
result.put("contentDescription", node.getContentDescription());
|
||||
flags.put("isChecked", node.isChecked());
|
||||
flags.put("isCheckable", node.isCheckable());
|
||||
flags.put("isDismissable", node.isDismissable());
|
||||
// This is not a typo.
|
||||
// See: https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo#isDismissable()
|
||||
flags.put("isDismissible", node.isDismissable());
|
||||
flags.put("isEditable", node.isEditable());
|
||||
flags.put("isEnabled", node.isEnabled());
|
||||
flags.put("isFocusable", node.isFocusable());
|
||||
|
||||
@@ -172,7 +172,7 @@ class AndroidSemanticsAction {
|
||||
}
|
||||
}
|
||||
|
||||
static const Map<int, AndroidSemanticsAction> _kactionById = <int, AndroidSemanticsAction>{
|
||||
static const Map<int, AndroidSemanticsAction> _kActionById = <int, AndroidSemanticsAction>{
|
||||
_kFocusIndex: focus,
|
||||
_kClearFocusIndex: clearFocus,
|
||||
_kSelectIndex: select,
|
||||
@@ -211,6 +211,6 @@ class AndroidSemanticsAction {
|
||||
///
|
||||
/// Returns `null` if the id is not a known Android accessibility action.
|
||||
static AndroidSemanticsAction deserialize(int value) {
|
||||
return _kactionById[value];
|
||||
return _kActionById[value];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ class BottomAppBarDemo extends StatefulWidget {
|
||||
State createState() => _BottomAppBarDemoState();
|
||||
}
|
||||
|
||||
// Flutter generally frowns upon abbrevation however this class uses two
|
||||
// abbrevations extensively: "fab" for floating action button, and "bab"
|
||||
// Flutter generally frowns upon abbreviation however this class uses two
|
||||
// abbreviations extensively: "fab" for floating action button, and "bab"
|
||||
// for bottom application bar.
|
||||
|
||||
class _BottomAppBarDemoState extends State<BottomAppBarDemo> {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class GalleryIcons {
|
||||
// This class is not meant to be instatiated or extended; this constructor
|
||||
// This class is not meant to be instantiated or extended; this constructor
|
||||
// prevents instantiation and extension.
|
||||
GalleryIcons._();
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter_gallery/demo_lists.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
/// The demos we don't run as part of the integraiton test.
|
||||
/// The demos we don't run as part of the integration test.
|
||||
///
|
||||
/// Demo names are formatted as 'DEMO_NAME@DEMO_CATEGORY' (see
|
||||
/// `demo_lists.dart` for more examples).
|
||||
|
||||
@@ -165,7 +165,7 @@ void main([List<String> args = const <String>[]]) {
|
||||
// Wait for the first frame to be rasterized.
|
||||
await driver.waitUntilFirstFrameRasterized();
|
||||
if (withSemantics) {
|
||||
print('Enabeling semantics...');
|
||||
print('Enabling semantics...');
|
||||
await driver.setSemantics(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ static NSString *_kReloadChannelName = @"reload";
|
||||
return _engine;
|
||||
}
|
||||
|
||||
- (FlutterBasicMessageChannel *)reloadMessabeChannel {
|
||||
- (FlutterBasicMessageChannel *)reloadMessageChannel {
|
||||
return _reloadMessageChannel;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,8 +85,8 @@ void main() {
|
||||
expect(text.data, 'no-enter');
|
||||
|
||||
// Focus on a TextFormField.
|
||||
final Finder textFormFielsFinder = find.byKey(const Key('input2'));
|
||||
expect(textFormFielsFinder, findsOneWidget);
|
||||
final Finder textFormFieldsFinder = find.byKey(const Key('input2'));
|
||||
expect(textFormFieldsFinder, findsOneWidget);
|
||||
await tester.tap(find.byKey(const Key('input2')));
|
||||
|
||||
// // Press Tab. This should trigger `onFieldSubmitted` of TextField.
|
||||
|
||||
Reference in New Issue
Block a user