onSingleLongTapMoveUpdate method Null safety
- LongPressMoveUpdateDetails details
protected">@protected
Handler for TextSelectionGestureDetector.onSingleLongTapMoveUpdate.
By default, it updates the selection location specified in details
if
selection is enabled.
See also:
- TextSelectionGestureDetector.onSingleLongTapMoveUpdate, which triggers this callback.
Implementation
@protected
void onSingleLongTapMoveUpdate(LongPressMoveUpdateDetails details) {
if (delegate.selectionEnabled) {
renderEditable.selectPositionAt(
from: details.globalPosition,
cause: SelectionChangedCause.longPress,
);
}
}