isInFullscreen method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), LinuxPlatform()])
Future<bool> isInFullscreen()

Returns true if the WebView is in fullscreen mode, otherwise false.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Linux WPE WebKit

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    LinuxPlatform(),
  ],
)
Future<bool> isInFullscreen() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.isInFullscreen.name} is not implemented on the current platform',
  );
}