onMoveCursorForwardByCharacter property
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;
Implementation
set onMoveCursorForwardByCharacter(MoveCursorHandler? value) {
assert(value != null);
_addAction(SemanticsAction.moveCursorForwardByCharacter, (Object? args) {
final bool extendSelection = args! as bool;
value!(extendSelection);
});
_onMoveCursorForwardByCharacter = value;
}