values constant

Map<int, SemanticsAction> const values = const <int, SemanticsAction> {_kTapIndex : tap, _kLongPressIndex : longPress, _kScrollLeftIndex : scrollLeft, _kScrollRightIndex : scrollRight, _kScrollUpIndex : scrollUp, _kScrollDownIndex : scrollDown, _kIncreaseIndex : increase, _kDecreaseIndex : decrease, _kShowOnScreenIndex : showOnScreen, _kMoveCursorForwardByCharacterIndex : moveCursorForwardByCharacter, _kMoveCursorBackwardByCharacterIndex : moveCursorBackwardByCharacter, _kSetSelectionIndex : setSelection, _kCopyIndex : copy, _kCutIndex : cut, _kPasteIndex : paste, _kDidGainAccessibilityFocusIndex : didGainAccessibilityFocus, _kDidLoseAccessibilityFocusIndex : didLoseAccessibilityFocus, _kCustomAction : customAction, _kDismissIndex : dismiss, _kMoveCursorForwardByWordIndex : moveCursorForwardByWord, _kMoveCursorBackwardByWordIndex : moveCursorBackwardByWord}

The possible semantics actions.

The map's key is the index of the action and the value is the action itself.

Implementation

static const Map<int, SemanticsAction> values = const <int, SemanticsAction>{
  _kTapIndex: tap,
  _kLongPressIndex: longPress,
  _kScrollLeftIndex: scrollLeft,
  _kScrollRightIndex: scrollRight,
  _kScrollUpIndex: scrollUp,
  _kScrollDownIndex: scrollDown,
  _kIncreaseIndex: increase,
  _kDecreaseIndex: decrease,
  _kShowOnScreenIndex: showOnScreen,
  _kMoveCursorForwardByCharacterIndex: moveCursorForwardByCharacter,
  _kMoveCursorBackwardByCharacterIndex: moveCursorBackwardByCharacter,
  _kSetSelectionIndex: setSelection,
  _kCopyIndex: copy,
  _kCutIndex: cut,
  _kPasteIndex: paste,
  _kDidGainAccessibilityFocusIndex: didGainAccessibilityFocus,
  _kDidLoseAccessibilityFocusIndex: didLoseAccessibilityFocus,
  _kCustomAction: customAction,
  _kDismissIndex: dismiss,
  _kMoveCursorForwardByWordIndex: moveCursorForwardByWord,
  _kMoveCursorBackwardByWordIndex: moveCursorBackwardByWord,
}