onMoveCursorBackwardByWord property
The handler for SemanticsAction.onMoveCursorBackwardByWord
.
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 onMoveCursorBackwardByWord => _onMoveCursorBackwardByWord;
Implementation
set onMoveCursorBackwardByWord(MoveCursorHandler handler) {
if (_onMoveCursorBackwardByWord == handler)
return;
final bool hadValue = _onMoveCursorBackwardByWord != null;
_onMoveCursorBackwardByWord = handler;
if ((handler != null) != hadValue)
markNeedsSemanticsUpdate();
}