SemanticsAction class Null safety
The possible actions that can be conveyed from the operating system accessibility APIs to a semantics node.
\warning When changes are made to this class, the equivalent APIs in
lib/ui/semantics/semantics_node.h
and in each of the embedders
must be updated.
See also:
- file://./../../lib/ui/semantics/semantics_node.h
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- copy → const SemanticsAction
-
Copy the current selection to the clipboard.
SemanticsAction._(_kCopyIndex)
- customAction → const SemanticsAction
-
Indicates that the user has invoked a custom accessibility action.
SemanticsAction._(_kCustomActionIndex)
- cut → const SemanticsAction
-
Cut the current selection and place it in the clipboard.
SemanticsAction._(_kCutIndex)
- decrease → const SemanticsAction
-
A request to decrease the value represented by the semantics node.
SemanticsAction._(_kDecreaseIndex)
- didGainAccessibilityFocus → const SemanticsAction
-
Indicates that the node has gained accessibility focus.
SemanticsAction._(_kDidGainAccessibilityFocusIndex)
- didLoseAccessibilityFocus → const SemanticsAction
-
Indicates that the node has lost accessibility focus.
SemanticsAction._(_kDidLoseAccessibilityFocusIndex)
- dismiss → const SemanticsAction
-
A request that the node should be dismissed.
SemanticsAction._(_kDismissIndex)
- increase → const SemanticsAction
-
A request to increase the value represented by the semantics node.
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.
SemanticsAction._(_kLongPressIndex)
- moveCursorBackwardByCharacter → const SemanticsAction
-
Move the cursor backward by one character.
SemanticsAction._(_kMoveCursorBackwardByCharacterIndex)
- moveCursorBackwardByWord → const SemanticsAction
-
Move the cursor backward by one word.
SemanticsAction._(_kMoveCursorBackwardByWordIndex)
- moveCursorForwardByCharacter → const SemanticsAction
-
Move the cursor forward by one character.
SemanticsAction._(_kMoveCursorForwardByCharacterIndex)
- moveCursorForwardByWord → const SemanticsAction
-
Move the cursor forward by one word.
SemanticsAction._(_kMoveCursorForwardByWordIndex)
- paste → const SemanticsAction
-
Paste the current content of the clipboard.
SemanticsAction._(_kPasteIndex)
- scrollDown → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from top
to bottom.
SemanticsAction._(_kScrollDownIndex)
- scrollLeft → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from right
to left.
SemanticsAction._(_kScrollLeftIndex)
- scrollRight → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from left
to right.
SemanticsAction._(_kScrollRightIndex)
- scrollUp → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from
bottom to top.
SemanticsAction._(_kScrollUpIndex)
- setSelection → const SemanticsAction
-
Set the text selection to the given range.
SemanticsAction._(_kSetSelectionIndex)
- setText → const SemanticsAction
-
Replaces the current text in the text field.
SemanticsAction._(_kSetTextIndex)
- showOnScreen → const SemanticsAction
-
A request to fully show the semantics node on screen.
SemanticsAction._(_kShowOnScreenIndex)
- tap → const SemanticsAction
-
The equivalent of a user briefly tapping the screen with the finger
without moving it.
SemanticsAction._(_kTapIndex)
-
values
→ const Map<
int, SemanticsAction> -
The possible semantics actions.
<int, SemanticsAction>{_kTapIndex : tap, _kLongPressIndex : longPress, _kScrollLeftIndex : scrollLeft, _kScrollRightIndex : scrollRight, _kScrollUpIndex : scrollUp, _kScrollDownIndex : scrollDow…