EventListener<T> constructor

const EventListener<T>({
  1. Key? key,
  2. required EventQueue<T> eventQueue,
  3. required Future<void> onEvent(
    1. BuildContext,
    2. T
    ),
  4. required Widget child,
})

Implementation

const EventListener({
  super.key,
  required this.eventQueue,
  required this.onEvent,
  required this.child,
});