handleScaleUpdate method
Handle when the double tap scale details is updating. 处理双指缩放更新
Implementation
Future<void> handleScaleUpdate(ScaleUpdateDetails details) async {
// When there are not exactly two fingers on screen don't scale
if (innerController == null || pointers != 2) {
return;
}
zoom(details.scale * 2 - 1);
}