onScaleEnd method
Implementation
void onScaleEnd(ScaleEndDetails details) {
if (!_isZooming || _controllerReset.isAnimating) {
return;
}
_animationReset = Matrix4Tween(
begin: _matrix,
end: Matrix4.identity(),
).animate(
CurvedAnimation(
parent: _controllerReset,
curve: widget.animationCurve,
),
);
_controllerReset
..reset()
..forward();
}