animatedRotateTo method
Set the rotation to degree
.
If curve
is not specified, the one specified in the constructor will be
used.
Implementation
Future<void> animatedRotateTo(
double degree, {
Curve? curve,
String? customId,
}) {
return animateTo(rotation: degree, curve: curve, customId: customId);
}