animatedRotation method

Widget animatedRotation({
  1. double start = 0,
  2. double end = 1,
  3. Curve? curve,
  4. Duration? duration,
})

Start and End values ​​must be between 0 and 1. The Start value cannot be greater than the End value.

Implementation

Widget animatedRotation({
  double start = 0,
  double end = 1,
  Curve? curve,
  Duration? duration,
}) =>
    _GrockRotationAnimation(
      child: this,
      to: end,
      from: start,
      duration: duration,
      curve: curve,
    );