SemanticsAction class
The possible actions that can be conveyed from the operating system accessibility APIs to a semantics node.
Properties
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
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._(_kCopyIndex) - customAction → const SemanticsAction
-
Indicates that the user has invoked a custom accessibility action. [...]
const SemanticsAction._(_kCustomAction) - 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) - dismiss → const SemanticsAction
-
A request that the node should be dismissed. [...]
const SemanticsAction._(_kDismissIndex) - 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) - moveCursorBackwardByWord → const SemanticsAction
-
Move the cursor backward by one word. [...]
const SemanticsAction._(_kMoveCursorBackwardByWordIndex) - moveCursorForwardByCharacter → const SemanticsAction
-
Move the cursor forward by one character. [...]
const SemanticsAction._(_kMoveCursorForwardByCharacterIndex) - moveCursorForwardByWord → const SemanticsAction
-
Move the cursor forward by one word. [...]
const SemanticsAction._(_kMoveCursorForwardByWordIndex) - 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) -
values
→ const Map<
int, SemanticsAction> -
The possible semantics actions. [...]
const <int, SemanticsAction> {_kTapIndex : tap, _kLongPressIndex : longPress, _kScrollLeftIndex : scrollLeft, _kScrollRightIndex : scrollRight, _kScrollUpIndex : scrollUp, _kScrollDownIndex : sc…