TapEventListener typedef Null safety

TapEventListener = void Function(TapEvent event)

Signature for listening to TapEvent events.

Used by XGestureDetector.

Implementation

typedef TapEventListener = void Function(TapEvent event);