handleNonAllowedPointer method Null safety

  1. @override
  2. @protected
void handleNonAllowedPointer(
  1. PointerDownEvent event
)
@protected, override

Handles a pointer being added that's not allowed by this recognizer.

Subclasses can override this method and reject the gesture.

See:

Implementation

@override
@protected
void handleNonAllowedPointer(PointerDownEvent event) {
  resolve(GestureDisposition.rejected);
}