onReceivedError property
void Function(T controller, WebResourceRequest request, WebResourceError error)?
onReceivedError
final
Event fired when the WebView
encounters an error
loading a request
.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebViewClient.onReceivedError)
- iOS (Official API - WKNavigationDelegate.webView)
- MacOS (Official API - WKNavigationDelegate.webView)
- Windows (Official API - ICoreWebView2.add_NavigationCompleted)
Implementation
final void Function(
T controller, WebResourceRequest request, WebResourceError error)?
onReceivedError;