onDownloadStartRequest property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
  2. @Deprecated('Use onDownloadStarting instead')
void Function(T controller, DownloadStartRequest downloadStartRequest)? onDownloadStartRequest
final

Use onDownloadStarting instead

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • downloadStartRequest: all platforms

Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()],
)
@Deprecated('Use onDownloadStarting instead')
final void Function(T controller, DownloadStartRequest downloadStartRequest)?
onDownloadStartRequest;