onDragSelectionEnd method Null safety

  1. @protected
void onDragSelectionEnd(
  1. DragEndDetails details
)
protected">@protected

Handler for TextSelectionGestureDetector.onDragSelectionEnd.

By default, it simply cleans up the state used for handling certain built-in behaviors.

See also:

Implementation

@protected
void onDragSelectionEnd(DragEndDetails details) {
  if (_isShiftTapping) {
    _isShiftTapping = false;
    _shiftTapDragSelection = null;
  }
}