clickEvent constant

EventStreamProvider<MouseEvent> const clickEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<MouseEvent> clickEvent =
    const EventStreamProvider<MouseEvent>('click');