onLoadHttpError property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
  2. @Deprecated("Use onReceivedHttpError instead")
void Function(T controller, Uri? url, int code, String message)? onLoadHttpError
final

Use onReceivedHttpError instead.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • statusCode: all platforms
  • description: all platforms

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

Implementation

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()],
)
@Deprecated("Use onReceivedHttpError instead")
final void Function(
  T controller,
  Uri? url,
  int statusCode,
  String description,
)?
onLoadHttpError;