EventStreamProvider<Event> visibilityChangeEvent = const _CustomEventStreamProvider<Event>(_determineVisibilityChangeEventType)

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

See EventStreamProvider for usage information.