SemanticsAction class

The possible actions that can be conveyed from the operating system accessibility APIs to a semantics node.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
The numerical value for this action.
final
name String
A human-readable name for this flag, used for debugging purposes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

values List<SemanticsAction>
no setter

Static Methods

fromIndex(int index) SemanticsAction?

Constants

copy → const SemanticsAction
Copy the current selection to the clipboard.
customAction → const SemanticsAction
Indicates that the user has invoked a custom accessibility action.
cut → const SemanticsAction
Cut the current selection and place it in the clipboard.
decrease → const SemanticsAction
A request to decrease the value represented by the semantics node.
didGainAccessibilityFocus → const SemanticsAction
Indicates that the node has gained accessibility focus.
didLoseAccessibilityFocus → const SemanticsAction
Indicates that the node has lost accessibility focus.
dismiss → const SemanticsAction
A request that the node should be dismissed.
focus → const SemanticsAction
Move the input focus to the respective widget.
increase → const SemanticsAction
A request to increase the value represented by the semantics node.
longPress → const SemanticsAction
The equivalent of a user pressing and holding the screen with the finger for a few seconds without moving it.
moveCursorBackwardByCharacter → const SemanticsAction
Move the cursor backward by one character.
moveCursorBackwardByWord → const SemanticsAction
Move the cursor backward by one word.
moveCursorForwardByCharacter → const SemanticsAction
Move the cursor forward by one character.
moveCursorForwardByWord → const SemanticsAction
Move the cursor forward by one word.
paste → const SemanticsAction
Paste the current content of the clipboard.
scrollDown → const SemanticsAction
The equivalent of a user moving their finger across the screen from top to bottom.
scrollLeft → const SemanticsAction
The equivalent of a user moving their finger across the screen from right to left.
scrollRight → const SemanticsAction
The equivalent of a user moving their finger across the screen from left to right.
scrollUp → const SemanticsAction
The equivalent of a user moving their finger across the screen from bottom to top.
setSelection → const SemanticsAction
Set the text selection to the given range.
setText → const SemanticsAction
Replaces the current text in the text field.
showOnScreen → const SemanticsAction
A request to fully show the semantics node on screen.
tap → const SemanticsAction
The equivalent of a user briefly tapping the screen with the finger without moving it.