EventDispatcher typedef Null safety
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);
Signature for a callback that can dispatch events and returns a future that completes when the event dispatch is complete.
typedef EventDispatcher = Future<void> Function(PointerEvent event);