onMoveCursorForwardByWord property Null safety
The handler for SemanticsAction.moveCursorForwardByWord.
This handler is invoked when the user wants to move the cursor in a text field backward by one word.
TalkBack users can trigger this by pressing the volume down key while the input focus is in a text field.
Implementation
MoveCursorHandler? get onMoveCursorForwardByWord => _onMoveCursorForwardByWord;
Implementation
set onMoveCursorForwardByWord(MoveCursorHandler? value) {
assert(value != null);
_addAction(SemanticsAction.moveCursorForwardByWord, (Object? args) {
final bool extendSelection = args! as bool;
value!(extendSelection);
});
_onMoveCursorForwardByCharacter = value;
}