onScaleEnd method
Implementation
@override
// ignore: avoid_renaming_method_parameters
void onScaleEnd(ScaleEndInfo event) {
if (currentDialog != null) {
currentDialog!.onDragEnd(lastScalePosition);
currentDialog!.onScaleEnd(lastScalePosition, lastScale);
} else {
currentScreen.onDragEnd(lastScalePosition);
currentScreen.onScaleEnd(lastScalePosition, lastScale);
}
}