onZoomScaleChanged property
(void Function(InAppWebViewController controller, double oldScale, double newScale)?)
onZoomScaleChanged
final
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.
Supported Platforms/Implementations:
- Android native WebView (Official API - WebViewClient.onScaleChanged)
- iOS (Official API - UIScrollViewDelegate.scrollViewDidZoom)
- Web
Implementation
final void Function(
InAppWebViewController controller, double oldScale, double newScale)?
onZoomScaleChanged;