handleEvent method

  1. @override
void handleEvent(
  1. PointerEvent event
)
override

Handles the incoming pointer events. If a PointerUpEvent is detected, the gesture is rejected for the acceptance of other gestures. (e.g. tap)

Implementation

@override
void handleEvent(PointerEvent event) {
  if (event is PointerUpEvent) resolve(GestureDisposition.rejected);
}