getTargetRefreshRate method
- @SupportedPlatforms.new(platforms: [LinuxPlatform()])
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
@SupportedPlatforms(platforms: [LinuxPlatform()])
Future<int> getTargetRefreshRate() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.getTargetRefreshRate.name} is not implemented on the current platform',
);
}