onSingleLongTapMoveUpdate method

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

Handler for EditorTextSelectionGestureDetector.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) {
    renderEditor!.selectPositionAt(
      from: details.globalPosition,
      cause: SelectionChangedCause.longPress,
    );
  }
}