getProgress method
Gets the progress for the current page. The progress value is between 0 and 100.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.getProgress)
- iOS (Official API - WKWebView.estimatedProgress)
- MacOS (Official API - WKWebView.estimatedProgress)
Implementation
@override
Future<int?> getProgress() async {
Map<String, dynamic> args = <String, dynamic>{};
return await channel?.invokeMethod<int?>('getProgress', args);
}