onContentSizeChanged property
- @SupportedPlatforms.new(platforms: [IOSPlatform(), LinuxPlatform(note: 'This event is implemented using JavaScript.')])
final
Event fired when the content size of the WebView changes.
oldContentSize represents the old content size value.
newContentSize represents the new content size value.
Officially Supported Platforms/Implementations:
- iOS WKWebView
- Linux WPE WebKit:
- This event is implemented using JavaScript.
Parameters - Officially Supported Platforms/Implementations:
oldContentSize: all platformsnewContentSize: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(),
LinuxPlatform(note: 'This event is implemented using JavaScript.'),
],
)
final void Function(T controller, Size oldContentSize, Size newContentSize)?
onContentSizeChanged;