onProgressChanged method

  1. @override
void onProgressChanged(
  1. WebView webView,
  2. int progress
)

Notify the host application that a file should be downloaded.

Implementation

@override
void onProgressChanged(android_webview.WebView webView, int progress) {
  if (_onProgress != null) {
    _onProgress!(progress);
  }
}