description

# GlobalEventHandlers class Null safety

Implemented types
  - EventTarget
Implementers
  - Element
  - SvgElement
  - Window

## Properties

hashCode → int
  The hash code for this object. [...]
  read-only, inherited
on → Events
  This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
  read-only, override
onAbort → Stream<Event>
  read-only
onBlur → Stream<Event>
  read-only
onCanPlay → Stream<Event>
  read-only
onCanPlayThrough → Stream<Event>
  read-only
onChange → Stream<Event>
  read-only
onClick → Stream<MouseEvent>
  read-only
onContextMenu → Stream<MouseEvent>
  read-only
onDoubleClick → Stream<Event>
  @DomName('GlobalEventHandlers.ondblclick'), read-only
onDrag → Stream<MouseEvent>
  read-only
onDragEnd → Stream<MouseEvent>
  read-only
onDragEnter → Stream<MouseEvent>
  read-only
onDragLeave → Stream<MouseEvent>
  read-only
onDragOver → Stream<MouseEvent>
  read-only
onDragStart → Stream<MouseEvent>
  read-only
onDrop → Stream<MouseEvent>
  read-only
onDurationChange → Stream<Event>
  read-only
onEmptied → Stream<Event>
  read-only
onEnded → Stream<Event>
  read-only
onError → Stream<Event>
  read-only
onFocus → Stream<Event>
  read-only
onInput → Stream<Event>
  read-only
onInvalid → Stream<Event>
  read-only
onKeyDown → Stream<KeyboardEvent>
  read-only
onKeyPress → Stream<KeyboardEvent>
  read-only
onKeyUp → Stream<KeyboardEvent>
  read-only
onLoad → Stream<Event>
  read-only
onLoadedData → Stream<Event>
  read-only
onLoadedMetadata → Stream<Event>
  read-only
onMouseDown → Stream<MouseEvent>
  read-only
onMouseEnter → Stream<MouseEvent>
  read-only
onMouseLeave → Stream<MouseEvent>
  read-only
onMouseMove → Stream<MouseEvent>
  read-only
onMouseOut → Stream<MouseEvent>
  read-only
onMouseOver → Stream<MouseEvent>
  read-only
onMouseUp → Stream<MouseEvent>
  read-only
onMouseWheel → Stream<WheelEvent>
  read-only
onPause → Stream<Event>
  read-only
onPlay → Stream<Event>
  read-only
onPlaying → Stream<Event>
  read-only
onRateChange → Stream<Event>
  read-only
onReset → Stream<Event>
  read-only
onResize → Stream<Event>
  read-only
onScroll → Stream<Event>
  read-only
onSeeked → Stream<Event>
  read-only
onSeeking → Stream<Event>
  read-only
onSelect → Stream<Event>
  read-only
onStalled → Stream<Event>
  read-only
onSubmit → Stream<Event>
  read-only
onSuspend → Stream<Event>
  read-only
onTimeUpdate → Stream<Event>
  read-only
onTouchCancel → Stream<TouchEvent>
  read-only
onTouchEnd → Stream<TouchEvent>
  read-only
onTouchMove → Stream<TouchEvent>
  read-only
onTouchStart → Stream<TouchEvent>
  read-only
onVolumeChange → Stream<Event>
  read-only
onWaiting → Stream<Event>
  read-only
onWheel → Stream<WheelEvent>
  read-only
runtimeType → Type
  A representation of the runtime type of the object.
  read-only, inherited

## Methods

addEventListener(String type, dynamic listener(Event event), [bool? useCapture]) → void
  override
dispatchEvent(Event event) → bool
  override
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a non-existent method or property is accessed. [...]
  inherited
removeEventListener(String type, dynamic listener(Event event), [bool? useCapture]) → void
  override
toString() → String
  Returns a string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator. [...]
  inherited

## Constants

abortEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('abort')`
blurEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('blur')`
canPlayEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('canplay')`
canPlayThroughEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('canplaythrough')`
changeEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('change')`
clickEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('click')`
contextMenuEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('contextmenu')`
doubleClickEvent → const EventStreamProvider<Event>
  @DomName('GlobalEventHandlers.dblclickEvent')
  `const EventStreamProvider<Event>('dblclick')`
dragEndEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('dragend')`
dragEnterEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('dragenter')`
dragEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('drag')`
dragLeaveEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('dragleave')`
dragOverEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('dragover')`
dragStartEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('dragstart')`
dropEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('drop')`
durationChangeEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('durationchange')`
emptiedEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('emptied')`
endedEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('ended')`
errorEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('error')`
focusEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('focus')`
inputEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('input')`
invalidEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('invalid')`
keyDownEvent → const EventStreamProvider<KeyboardEvent>
  `const EventStreamProvider<KeyboardEvent>('keydown')`
keyPressEvent → const EventStreamProvider<KeyboardEvent>
  `const EventStreamProvider<KeyboardEvent>('keypress')`
keyUpEvent → const EventStreamProvider<KeyboardEvent>
  `const EventStreamProvider<KeyboardEvent>('keyup')`
loadedDataEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('loadeddata')`
loadedMetadataEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('loadedmetadata')`
loadEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('load')`
mouseDownEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mousedown')`
mouseEnterEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mouseenter')`
mouseLeaveEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mouseleave')`
mouseMoveEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mousemove')`
mouseOutEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mouseout')`
mouseOverEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mouseover')`
mouseUpEvent → const EventStreamProvider<MouseEvent>
  `const EventStreamProvider<MouseEvent>('mouseup')`
mouseWheelEvent → const EventStreamProvider<WheelEvent>
  `const EventStreamProvider<WheelEvent>('mousewheel')`
pauseEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('pause')`
playEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('play')`
playingEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('playing')`
rateChangeEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('ratechange')`
resetEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('reset')`
resizeEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('resize')`
scrollEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('scroll')`
seekedEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('seeked')`
seekingEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('seeking')`
selectEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('select')`
stalledEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('stalled')`
submitEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('submit')`
suspendEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('suspend')`
timeUpdateEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('timeupdate')`
touchCancelEvent → const EventStreamProvider<TouchEvent>
  `const EventStreamProvider<TouchEvent>('touchcancel')`
touchEndEvent → const EventStreamProvider<TouchEvent>
  `const EventStreamProvider<TouchEvent>('touchend')`
touchMoveEvent → const EventStreamProvider<TouchEvent>
  `const EventStreamProvider<TouchEvent>('touchmove')`
touchStartEvent → const EventStreamProvider<TouchEvent>
  `const EventStreamProvider<TouchEvent>('touchstart')`
volumeChangeEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('volumechange')`
waitingEvent → const EventStreamProvider<Event>
  `const EventStreamProvider<Event>('waiting')`
wheelEvent → const EventStreamProvider<WheelEvent>
  `const EventStreamProvider<WheelEvent>('wheel')`