animationScale method

void animationScale(
  1. double? begin,
  2. double end,
  3. double velocity
)

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);
}