onMoveCursorForwardByCharacter property

MoveCursorHandler? onMoveCursorForwardByCharacter

The handler for SemanticsAction.moveCursorForwardByCharacter.

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, (Object? args) {
    final bool extendSelection = args! as bool;
    value!(extendSelection);
  });
  _onMoveCursorForwardByCharacter = value;
}