moveCursorForwardByCharacter method
- FinderBase<
SemanticsNode> finder, { - bool shouldModifySelection = false,
Performs a SemanticsAction.moveCursorForwardByCharacter action on the
SemanticsNode found by finder
.
If shouldModifySelection
is true, then the cursor will begin or extend
a selection.
Throws a StateError if:
- The given
finder
returns zero or more than one result. - The SemanticsNode found with
finder
does not support SemanticsAction.moveCursorForwardByCharacter.
Implementation
void moveCursorForwardByCharacter(
finders.FinderBase<SemanticsNode> finder, {
bool shouldModifySelection = false
}) {
performAction(
finder,
SemanticsAction.moveCursorForwardByCharacter,
args: shouldModifySelection
);
}