animatedRotateReset method

Future<void> animatedRotateReset({
  1. Curve? curve,
  2. String? customId,
})

Reset the rotation to 0.

If curve is not specified, the one specified in the constructor will be used.

Implementation

Future<void> animatedRotateReset({Curve? curve, String? customId}) {
  return animateTo(rotation: 0, curve: curve, customId: customId);
}