isBlockedByScreenTime method
Returns whether Screen Time is currently blocking this WebView.
Officially Supported Platforms/Implementations:
- iOS WKWebView 26.0+ (Official API - WKWebView.isBlockedByScreenTime)
- macOS WKWebView 26.0+ (Official API - WKWebView.isBlockedByScreenTime)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isBlockedByScreenTime() => platform.isBlockedByScreenTime();