visibilityState property
String?
visibilityState
Indicates the visibility of the current client. This value can be one of hidden, visible, prerender, or unloaded.
Implementation
String? get visibilityState => _getProperty(_delegate, 'visibilityState');