requestEnterFullscreen method

  1. @SupportedPlatforms.new(platforms: [LinuxPlatform()])
Future<void> requestEnterFullscreen()

Requests the WebView to enter fullscreen mode. This dispatches a fullscreen request to the WPE backend.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

Implementation

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