onPageFinished method
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);
}