onWritingToolsActiveChanged property

  1. @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')])
void Function(T controller, bool isActive)? onWritingToolsActiveChanged
final

Event fired when Apple Writing Tools becomes active or inactive.

Officially Supported Platforms/Implementations:

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;