isLoading method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), LinuxPlatform(apiName: 'webkit_web_view_is_loading', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebView.is_loading.html'), MacOSPlatform(), WebPlatform(requiresSameOrigin: false), WindowsPlatform()])
Check if the WebView instance is in a loading state.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- Linux WPE WebKit (Official API - webkit_web_view_is_loading)
- macOS WKWebView
- Web <iframe>
- Windows WebView2
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(),
LinuxPlatform(
apiName: 'webkit_web_view_is_loading',
apiUrl:
'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebView.is_loading.html',
),
MacOSPlatform(),
WebPlatform(requiresSameOrigin: false),
WindowsPlatform(),
],
)
Future<bool> isLoading() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.isLoading.name} is not implemented on the current platform',
);
}