EventListener<T> constructor
const
EventListener<T> ({
- Key? key,
- required EventQueue<
T> eventQueue, - required Future<
void> onEvent(- BuildContext,
- T
- required Widget child,
Implementation
const EventListener({
super.key,
required this.eventQueue,
required this.onEvent,
required this.child,
});