backCardSize static method

Animation<Size?> backCardSize(
  1. AnimationController controller,
  2. Size beginSize,
  3. Size endSize
)

Implementation

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