onSingleLongTapMoveUpdate method

  1. @protected
void onSingleLongTapMoveUpdate (
  1. LongPressMoveUpdateDetails details
)
@protected

Handler for TextSelectionGestureDetector.onSingleLongTapMoveUpdate.

By default, it updates the selection location specified in details if selection is enabled.

See also:

Implementation

@protected
void onSingleLongTapMoveUpdate(LongPressMoveUpdateDetails details) {
  if (delegate.selectionEnabled) {
    renderEditable.selectPositionAt(
      from: details.globalPosition,
      cause: SelectionChangedCause.longPress,
    );
  }
}