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:

Implementation

final void Function(
        T controller, WebResourceRequest request, WebResourceError error)?
    onReceivedError;