requestPointerUnlock method

  1. @SupportedPlatforms.new(platforms: [LinuxPlatform()])
Future<bool> requestPointerUnlock()

Releases the pointer lock for the WebView. Returns true if the unlock was successful, false otherwise.

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<bool> requestPointerUnlock() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.requestPointerUnlock.name} is not implemented on the current platform',
  );
}