frontCardRota static method

Animation<double> frontCardRota(
  1. AnimationController controller,
  2. double beginRot
)

Implementation

static Animation<double> frontCardRota(
    AnimationController controller, double beginRot) {
  return Tween(begin: beginRot, end: 0.0).animate(
    CurvedAnimation(
      parent: controller,
      curve: Curves.easeOut,
    ),
  );
}