androidOnJsBeforeUnload property
- @SupportedPlatforms.new(platforms: [AndroidPlatform()])
- @Deprecated('Use onJsBeforeUnload instead')
final
Use onJsBeforeUnload instead.
Officially Supported Platforms/Implementations:
- Android WebView
Parameters - Officially Supported Platforms/Implementations:
jsBeforeUnloadRequest: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated('Use onJsBeforeUnload instead')
final FutureOr<JsBeforeUnloadResponse?> Function(
T controller,
JsBeforeUnloadRequest jsBeforeUnloadRequest,
)?
androidOnJsBeforeUnload;