onZoomScaleChanged property
Event fired when the zoom scale of the WebView has changed.
oldScale
The old zoom scale factor.
newScale
The new zoom scale factor.
NOTE for Web: this event will be called only if the iframe has the same origin.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebViewClient.onScaleChanged)
- iOS (Official API - UIScrollViewDelegate.scrollViewDidZoom)
- Web
Implementation
final void Function(T controller, double oldScale, double newScale)?
onZoomScaleChanged;