isPointerPanZoomAllowed method

  1. @protected
bool isPointerPanZoomAllowed(
  1. PointerPanZoomStartEvent event
)

Checks whether or not a pointer pan/zoom is allowed to be tracked by this recognizer.

Implementation

@protected
bool isPointerPanZoomAllowed(PointerPanZoomStartEvent event) {
  return supportedDevices == null || supportedDevices!.contains(event.kind);
}