isLoading method

  1. @override
Future<bool> isLoading()

Check if the WebView instance is in a loading state.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
  • Web
  • Windows

Implementation

@override
Future<bool> isLoading() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await channel?.invokeMethod<bool>('isLoading', args) ?? false;
}