scrollEvent constant Null safety

EventStreamProvider<Event> const scrollEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> scrollEvent =
    const EventStreamProvider<Event>('scroll')