isVisible method
- @SupportedPlatforms.new(platforms: [LinuxPlatform(apiName: 'wpe_view_get_visible', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-platform-1.0/method.View.get_visible.html')])
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:
- Linux WPE WebKit (Official API - wpe_view_get_visible)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
LinuxPlatform(
apiName: 'wpe_view_get_visible',
apiUrl:
'https://wpewebkit.org/reference/stable/wpe-platform-1.0/method.View.get_visible.html',
),
],
)
Future<bool> isVisible() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.isVisible.name} is not implemented on the current platform',
);
}