pinchZoom method

Future<void> pinchZoom(
  1. double scale
)

Performs pinch zoom calculations based on gesture scale factor.

Implementation

Future<void> pinchZoom(double scale) async {
  await setZoomLevel(_currentZoomLevel * scale);
}