useOnDownloadStart property

bool? useOnDownloadStart
getter/setter pair

Set to true to be able to listen at the PlatformWebViewCreationParams.onDownloadStartRequest event.

If the PlatformWebViewCreationParams.onDownloadStartRequest event is implemented and this value is null, it will be automatically inferred as true, otherwise, the default value is false. This logic will not be applied for PlatformInAppBrowser, where you must set the value manually.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

bool? useOnDownloadStart;