widgetEventListeners property

  1. @override
Map<DomEventType, EventCallback?> get widgetEventListeners
override

Events that this widget is listening to in bubbling phase.

Implementation

@override
Map<DomEventType, EventCallback?> get widgetEventListeners => {
      DomEventType.click: onClick,
      DomEventType.input: onInput,
      DomEventType.change: onChange,
      DomEventType.keyUp: onKeyUp,
      DomEventType.keyDown: onKeyDown,
      DomEventType.keyPress: onKeyPress,
    };