hasSufficientGlobalDistanceToAccept abstract method

bool hasSufficientGlobalDistanceToAccept(
  1. PointerDeviceKind pointerDeviceKind,
  2. double? deviceTouchSlop
)

Whether the globalDistanceMoved is big enough to accept the gesture.

If this method returns true, it means this recognizer should declare win in the gesture arena.

Implementation

bool hasSufficientGlobalDistanceToAccept(
  PointerDeviceKind pointerDeviceKind,
  double? deviceTouchSlop,
);