animatedRotateTo method

Future<void> animatedRotateTo(
  1. double degree, {
  2. Curve? curve,
  3. String? customId,
})

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);
}