setVisible method
- @SupportedPlatforms.new(platforms: [LinuxPlatform()])
- required bool visible,
Sets the visibility state of the WebView.
When set to false, the WebView is marked as hidden which may reduce resource usage.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
visible: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [LinuxPlatform()])
Future<void> setVisible({required bool visible}) {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.setVisible.name} is not implemented on the current platform',
);
}