handleEvent method

  1. @override
void handleEvent(
  1. PointerEvent event,
  2. HitTestEntry<HitTestTarget> entry
)
override

Override this method to receive events.

Implementation

@override
void handleEvent(PointerEvent event, HitTestEntry entry) {
  if (event is PointerDownEvent) {
    recognizer?.addPointer(event);
  }
}