getTargetRefreshRate method

Future<int> getTargetRefreshRate()

Gets the current target refresh rate for the WebView in Hz.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

Implementation

Future<int> getTargetRefreshRate() => platform.getTargetRefreshRate();