popStateEvent constant Null safety

EventStreamProvider<PopStateEvent> const popStateEvent

Static factory designed to expose popstate events to event handlers that are not necessarily instances of Window.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider popStateEvent =
    const EventStreamProvider('popstate')