onWritingToolsActiveChanged property
- @SupportedPlatforms(platforms: [IOSPlatform(available: '18.0', apiName: 'WKWebView.isWritingToolsActive', apiUrl: 'https://developer.apple.com/documentation/webkit/wkwebview/iswritingtoolsactive'), MacOSPlatform(available: '15.0', apiName: 'WKWebView.isWritingToolsActive', apiUrl: 'https://developer.apple.com/documentation/webkit/wkwebview/iswritingtoolsactive')])
final
Event fired when Apple Writing Tools becomes active or inactive.
Officially Supported Platforms/Implementations:
- iOS WKWebView 18.0+ (Official API - WKWebView.isWritingToolsActive)
- macOS WKWebView 15.0+ (Official API - WKWebView.isWritingToolsActive)
Parameters - Officially Supported Platforms/Implementations:
isActive: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(
available: '18.0',
apiName: 'WKWebView.isWritingToolsActive',
apiUrl:
'https://developer.apple.com/documentation/webkit/wkwebview/iswritingtoolsactive',
),
MacOSPlatform(
available: '15.0',
apiName: 'WKWebView.isWritingToolsActive',
apiUrl:
'https://developer.apple.com/documentation/webkit/wkwebview/iswritingtoolsactive',
),
],
)
final void Function(T controller, bool isActive)? onWritingToolsActiveChanged;