onAjaxProgress method Null safety

Future<AjaxRequestAction?>? onAjaxProgress(
  1. AjaxRequest ajaxRequest
)

Event fired as an XMLHttpRequest progress. It gives the host application a chance to abort the request.

ajaxRequest represents the XMLHttpRequest.

NOTE: In order to be able to listen this event, you need to set InAppWebViewOptions.useShouldInterceptAjaxRequest option to true.

Implementation

Future<AjaxRequestAction?>? onAjaxProgress(AjaxRequest ajaxRequest) {}