onLoadStart property

void Function(T controller, WebUri? url)? onLoadStart
final

Event fired when the WebView starts to load an url.

NOTE for Web: it will be dispatched at the same time of onLoadStop event because there isn't any way to capture the real load start event from an iframe. If window.location.href isn't accessible inside the iframe, the url parameter will have the current value of the iframe.src attribute.

Officially Supported Platforms/Implementations:

Implementation

final void Function(T controller, WebUri? url)? onLoadStart;