onMoveCursorForwardByCharacter property

MoveCursorHandler onMoveCursorForwardByCharacter

The handler for SemanticsAction.onMoveCursorForwardByCharacter.

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

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

Implementation

MoveCursorHandler get onMoveCursorForwardByCharacter => _onMoveCursorForwardByCharacter;
void onMoveCursorForwardByCharacter= (MoveCursorHandler value)

Implementation

set onMoveCursorForwardByCharacter(MoveCursorHandler value) {
  assert(value != null);
  _addAction(SemanticsAction.moveCursorForwardByCharacter, (dynamic args) {
    final bool extentSelection = args;
    assert(extentSelection != null);
    value(extentSelection);
  });
  _onMoveCursorForwardByCharacter = value;
}