animatedRotation method
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,
);