mouseDownEvent constant Null safety

EventStreamProvider<MouseEvent> const mouseDownEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<MouseEvent> mouseDownEvent =
    const EventStreamProvider<MouseEvent>('mousedown');