onPageFinished method

  1. @override
void onPageFinished(
  1. WebView webView,
  2. String url
)

Notify the host application that a page has finished loading.

This method is called only for main frame. Receiving an onPageFinished callback does not guarantee that the next frame drawn by WebView will reflect the state of the DOM at this point.

Implementation

@override
void onPageFinished(android_webview.WebView webView, String url) {
  onPageFinishedCallback(url);
}