EventDispatcher typedef Null safety

Future<void> EventDispatcher(
  1. PointerEvent event
)

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);