onLoadResourceCustomScheme property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
  2. @Deprecated('Use onLoadResourceWithCustomScheme instead')
FutureOr<CustomSchemeResponse?> Function(T controller, Uri url)? onLoadResourceCustomScheme
final

Use onLoadResourceWithCustomScheme instead.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

Implementation

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()],
)
@Deprecated('Use onLoadResourceWithCustomScheme instead')
final FutureOr<CustomSchemeResponse?> Function(T controller, Uri url)?
onLoadResourceCustomScheme;