onMoveCursorBackwardByWord property

MoveCursorHandler onMoveCursorBackwardByWord

The handler for SemanticsAction.onMoveCursorBackwardByWord.

This handler is invoked when the user wants to move the cursor in a text field backward by one word.

TalkBack users can trigger this by pressing the volume down key while the input focus is in a text field.

Implementation

MoveCursorHandler get onMoveCursorBackwardByWord => _onMoveCursorBackwardByWord;
void onMoveCursorBackwardByWord= (MoveCursorHandler value)

Implementation

set onMoveCursorBackwardByWord(MoveCursorHandler value) {
  assert(value != null);
  _addAction(SemanticsAction.moveCursorBackwardByWord, (dynamic args) {
    final bool extentSelection = args;
    assert(extentSelection != null);
    value(extentSelection);
  });
  _onMoveCursorBackwardByCharacter = value;
}