widgetEventListeners property
Events that this widget is listening to in bubbling phase.
Implementation
@override
Map<DomEventType, EventCallback?> get widgetEventListeners {
if (null == onClick && null == onSubmit) {
return ccImmutableEmptyMapOfEventListeners;
}
return {
DomEventType.click: onClick,
DomEventType.submit: onSubmit,
};
}