onMoveCursorForwardByCharacter property
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;
Implementation
set onMoveCursorForwardByCharacter(MoveCursorHandler handler) {
if (_onMoveCursorForwardByCharacter == handler)
return;
final bool hadValue = _onMoveCursorForwardByCharacter != null;
_onMoveCursorForwardByCharacter = handler;
if ((handler != null) != hadValue)
markNeedsSemanticsUpdate();
}