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 ==(other) bool
The equality operator. [...]
inherited

Static Properties

values Map<int, SemanticsAction>
The possible semantics actions. [...]
final

Constants

copy → const SemanticsAction
Copy the current selection to the clipboard.
const SemanticsAction._(_kCopyIndex)
cut → const SemanticsAction
Cut the current selection and place it in the clipboard.
const SemanticsAction._(_kCutIndex)
decrease → const SemanticsAction
A request to decrease the value represented by the semantics node. [...]
const SemanticsAction._(_kDecreaseIndex)
didGainAccessibilityFocus → const SemanticsAction
Indicates that the nodes has gained accessibility focus. [...]
const SemanticsAction._(_kDidGainAccessibilityFocusIndex)
didLoseAccessibilityFocus → const SemanticsAction
Indicates that the nodes has lost accessibility focus. [...]
const SemanticsAction._(_kDidLoseAccessibilityFocusIndex)
increase → const SemanticsAction
A request to increase the value represented by the semantics node. [...]
const 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._(_kLongPressIndex)
moveCursorBackwardByCharacter → const SemanticsAction
Move the cursor backward by one character. [...]
const SemanticsAction._(_kMoveCursorBackwardByCharacterIndex)
moveCursorForwardByCharacter → const SemanticsAction
Move the cursor forward by one character. [...]
const SemanticsAction._(_kMoveCursorForwardByCharacterIndex)
paste → const SemanticsAction
Paste the current content of the clipboard.
const SemanticsAction._(_kPasteIndex)
scrollDown → const SemanticsAction
The equivalent of a user moving their finger across the screen from top to bottom. [...]
const SemanticsAction._(_kScrollDownIndex)
scrollLeft → const SemanticsAction
The equivalent of a user moving their finger across the screen from right to left. [...]
const SemanticsAction._(_kScrollLeftIndex)
scrollRight → const SemanticsAction
The equivalent of a user moving their finger across the screen from left to right. [...]
const SemanticsAction._(_kScrollRightIndex)
scrollUp → const SemanticsAction
The equivalent of a user moving their finger across the screen from bottom to top. [...]
const SemanticsAction._(_kScrollUpIndex)
setSelection → const SemanticsAction
Set the text selection to the given range. [...]
const SemanticsAction._(_kSetSelectionIndex)
showOnScreen → const SemanticsAction
A request to fully show the semantics node on screen. [...]
const SemanticsAction._(_kShowOnScreenIndex)
tap → const SemanticsAction
The equivalent of a user briefly tapping the screen with the finger without moving it.
const SemanticsAction._(_kTapIndex)