EventDispatcher typedef

Future<void> EventDispatcher (PointerEvent event, HitTestResult result)

Signature for a callback that can dispatch events and returns a future that completes when the event dispatch is complete.

Implementation

typedef EventDispatcher = Future<void> Function(PointerEvent event, HitTestResult result);