EventCallback typedef Null safety

EventCallback = void Function(Event event)

Implementation

typedef EventCallback = void Function(Event event);