isVisible method

Future<bool> isVisible()

Returns whether the WebView is currently visible.

On Linux, this checks the WPE view visibility state. For the legacy FDO backend, this returns the last known visibility state.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<bool> isVisible() => platform.isVisible();