isPageVisible top-level property

bool get isPageVisible

Implementation

bool get isPageVisible => web.document.visibilityState == 'visible';