SemanticsAction class

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

Properties

index → int
The numerical value for this action. [...]
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Constants

copy → const SemanticsAction
Copy the current selection to the clipboard.
const SemanticsAction._(SemanticsAction._kCopyIndex)
customAction → const SemanticsAction
Indicates that the user has invoked a custom accessibility action. [...]
const SemanticsAction._(SemanticsAction._kCustomAction)
cut → const SemanticsAction
Cut the current selection and place it in the clipboard.
const SemanticsAction._(SemanticsAction._kCutIndex)
decrease → const SemanticsAction
A request to decrease the value represented by the semantics node. [...]
const SemanticsAction._(SemanticsAction._kDecreaseIndex)
didGainAccessibilityFocus → const SemanticsAction
Indicates that the nodes has gained accessibility focus. [...]
const SemanticsAction._(SemanticsAction._kDidGainAccessibilityFocusIndex)
didLoseAccessibilityFocus → const SemanticsAction
Indicates that the nodes has lost accessibility focus. [...]
const SemanticsAction._(SemanticsAction._kDidLoseAccessibilityFocusIndex)
dismiss → const SemanticsAction
A request that the node should be dismissed. [...]
const SemanticsAction._(SemanticsAction._kDismissIndex)
increase → const SemanticsAction
A request to increase the value represented by the semantics node. [...]
const SemanticsAction._(SemanticsAction._kIncreaseIndex)
longPress → const SemanticsAction
The equivalent of a user pressing and holding the screen with the finger for a few seconds without moving it.
const SemanticsAction._(SemanticsAction._kLongPressIndex)
moveCursorBackwardByCharacter → const SemanticsAction
Move the cursor backward by one character. [...]
const SemanticsAction._(SemanticsAction._kMoveCursorBackwardByCharacterIndex)
moveCursorBackwardByWord → const SemanticsAction
Move the cursor backward by one word. [...]
const SemanticsAction._(SemanticsAction._kMoveCursorBackwardByWordIndex)
moveCursorForwardByCharacter → const SemanticsAction
Move the cursor forward by one character. [...]
const SemanticsAction._(SemanticsAction._kMoveCursorForwardByCharacterIndex)
moveCursorForwardByWord → const SemanticsAction
Move the cursor forward by one word. [...]
const SemanticsAction._(SemanticsAction._kMoveCursorForwardByWordIndex)
paste → const SemanticsAction
Paste the current content of the clipboard.
const SemanticsAction._(SemanticsAction._kPasteIndex)
scrollDown → const SemanticsAction
The equivalent of a user moving their finger across the screen from top to bottom. [...]
const SemanticsAction._(SemanticsAction._kScrollDownIndex)
scrollLeft → const SemanticsAction
The equivalent of a user moving their finger across the screen from right to left. [...]
const SemanticsAction._(SemanticsAction._kScrollLeftIndex)
scrollRight → const SemanticsAction
The equivalent of a user moving their finger across the screen from left to right. [...]
const SemanticsAction._(SemanticsAction._kScrollRightIndex)
scrollUp → const SemanticsAction
The equivalent of a user moving their finger across the screen from bottom to top. [...]
const SemanticsAction._(SemanticsAction._kScrollUpIndex)
setSelection → const SemanticsAction
Set the text selection to the given range. [...]
const SemanticsAction._(SemanticsAction._kSetSelectionIndex)
showOnScreen → const SemanticsAction
A request to fully show the semantics node on screen. [...]
const SemanticsAction._(SemanticsAction._kShowOnScreenIndex)
tap → const SemanticsAction
The equivalent of a user briefly tapping the screen with the finger without moving it.
const SemanticsAction._(SemanticsAction._kTapIndex)
values → const Map<int, SemanticsAction>
The possible semantics actions. [...]
const <int, SemanticsAction> {SemanticsAction._kTapIndex : SemanticsAction.tap, SemanticsAction._kLongPressIndex : SemanticsAction.longPress, SemanticsAction._kScrollLeftIndex : SemanticsAction.…