onAjaxProgress property Null safety
Event fired as an
It gives the host application a chance to abort the request.
ajaxRequest represents the
NOTE: In order to be able to listen this event, you need to set InAppWebViewOptions.useShouldInterceptAjaxRequest option to
Also, unlike iOS that has WKUserScript that
used to intercept ajax requests is loaded as soon as possible so it won't be instantaneous as iOS but just after some milliseconds (< ~100ms).
window.addEventListener("flutterInAppWebViewPlatformReady") event, the ajax requests will be intercept for sure.
final Future<AjaxRequestAction?> Function( InAppWebViewController controller, AjaxRequest ajaxRequest)? onAjaxProgress;