handleThumbPressEnd method

  1. @protected
  2. @mustCallSuper
void handleThumbPressEnd(
  1. Offset localPosition,
  2. Velocity velocity
)

Handler called when a long press has ended.

Implementation

@protected
@mustCallSuper
void handleThumbPressEnd(Offset localPosition, Velocity velocity) {
  assert(_debugCheckHasValidScrollPosition());
  final Axis? direction = getScrollbarDirection();
  if (direction == null) {
    return;
  }
  _maybeStartFadeoutTimer();
  _dragScrollbarAxisOffset = null;
  _currentController = null;
}