animationScale method
Implementation
void animationScale(double? begin, double end, double velocity) {
if (_scaleController == null) {
return;
}
_scaleAnimation =
_scaleController!.drive(Tween<double>(begin: begin, end: end));
_scaleController!
..value = 0.0
..fling(velocity: velocity);
}