onPinchSwipe method
Called when a two-pointer pinch-swipe gesture occurs.
A pinch-swipe occurs when two pointers touch, then move quickly to zoom or rotate while lifting.
Parameters
centerPosInPix: Gesture center in pixels.zoomingSpeedInMMPerSec: Zoom velocity in millimetres per second.rotatingSpeedInMMPerSec: Rotation velocity in millimetres per second.
Implementation
@override
void onPinchSwipe(
final Point<int> centerPosInPix,
final double zoomingSpeedInMMPerSec,
final double rotatingSpeedInMMPerSec,
) {
_pinchSwipeCallback?.call(
centerPosInPix,
zoomingSpeedInMMPerSec,
rotatingSpeedInMMPerSec,
);
}