contextMenuEvent constant Null safety

EventStreamProvider<MouseEvent> const contextMenuEvent

Static factory designed to expose contextmenu events to event handlers that are not necessarily instances of Element.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<MouseEvent> contextMenuEvent =
    const EventStreamProvider<MouseEvent>('contextmenu')