onMoveCursorBackwardByCharacter property

MoveCursorHandler onMoveCursorBackwardByCharacter

The handler for SemanticsAction.onMoveCursorBackwardByCharacter.

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

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

Implementation

MoveCursorHandler get onMoveCursorBackwardByCharacter => _onMoveCursorBackwardByCharacter;
void onMoveCursorBackwardByCharacter= (MoveCursorHandler value)

Implementation

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