onZoomScaleChanged method Null safety

void onZoomScaleChanged(
  1. double oldScale,
  2. double newScale

Event fired when the zoom scale of the WebView has changed.

oldScale The old zoom scale factor.

newScale The new zoom scale factor.

NOTE: available only on Android.

Official Android API: https://developer.android.com/reference/android/webkit/WebViewClient#onScaleChanged(android.webkit.WebView,%20float,%20float)

Official iOS API: https://developer.apple.com/documentation/uikit/uiscrollviewdelegate/1619409-scrollviewdidzoom


void onZoomScaleChanged(double oldScale, double newScale) {}