visibilityChangeEvent constant Null safety

EventStreamProvider<Event> const visibilityChangeEvent
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10')

Static factory designed to expose visibilitychange events to event handlers that are not necessarily instances of Document.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider visibilityChangeEvent =
    const _CustomEventStreamProvider(
        _determineVisibilityChangeEventType)