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 contextMenuEvent =
    const EventStreamProvider('contextmenu')