forked from firka/flutter
Fixed large amount of spelling errors (#83744)
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user