onLoadStart property
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:
- Android native WebView (Official API - WebViewClient.onPageStarted)
- iOS (Official API - WKNavigationDelegate.webView)
- MacOS (Official API - WKNavigationDelegate.webView)
- Web
- Windows (Official API - ICoreWebView2.add_NavigationStarting)
Implementation
final void Function(T controller, WebUri? url)? onLoadStart;