onUpdateVisitedHistory property

void Function(T controller, WebUri? url, bool? isReload)? onUpdateVisitedHistory
final

Event fired when the host application updates its visited links database. This event is also fired when the navigation state of the WebView changes through the usage of javascript History API functions (pushState(), replaceState()) and onpopstate event or, also, when the javascript window.location changes without reloading the webview (for example appending or modifying a hash to the url).

url represents the url being visited.

isReload indicates if this url is being reloaded. Available only on Android.

NOTE for Web: this event will be called only if the iframe has the same origin.

Officially Supported Platforms/Implementations:

Implementation

final void Function(T controller, WebUri? url, bool? isReload)?
    onUpdateVisitedHistory;