scaleUp static method

Animation<double> scaleUp(
  1. AnimationController controller, {
  2. double from = 0.8,
  3. double to = 1.0,
})

Scale up animation (0.0 to 1.0)

Implementation

static Animation<double> scaleUp(
  AnimationController controller, {
  double from = 0.8,
  double to = 1.0,
}) {
  return Tween<double>(begin: from, end: to).animate(
    CurvedAnimation(parent: controller, curve: overshoot),
  );
}