handlePointerUp method

void handlePointerUp(
  1. PointerUpEvent details
)

Implementation

void handlePointerUp(PointerUpEvent details) {
  if (options.disabled) {
    return;
  }

  if (!_checkPointerPremiss(details)) {
    return;
  }
  _updateTouchState(false);
  _longPressTimer?.cancel();

  if (!_shouldAllowTap()) {
    _resetTapState();
    return;
  }

  _handleTapSequence();
}