backSize static method

Animation backSize(
  1. AnimationController controller,
  2. Size beginSize,
  3. Size endSize
)

Card animation Size

Implementation

static Animation backSize(
    AnimationController controller, Size beginSize, Size endSize) {
  return new SizeTween(begin: beginSize, end: endSize).animate(
      new CurvedAnimation(parent: controller, curve: Curves.easeOut));
}