requestPointerUnlock method

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

Future<bool> requestPointerUnlock() => platform.requestPointerUnlock();