keepAlive property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WindowsPlatform()])
final
Used to keep alive this WebView. Remember to dispose the InAppWebViewKeepAlive instance using InAppWebViewController.disposeKeepAlive.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Use the PlatformInAppWebViewWidgetCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(),
MacOSPlatform(),
WindowsPlatform(),
],
)
final InAppWebViewKeepAlive? keepAlive;