customEvents property
Add custom events to the event recognizer.
Example:
final eventsHandler = InputEvents(
onInput: (e) => print('Input event!'),
onChange: (e) => print('Change event!'),
customEvents: {
'customEvent': (e) => print('Custom event!'),
},
);
Implementation
final Map<String, void Function(Event)>? customEvents;