animatedRotateFrom method

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

Apply a rotation of degree to the current rotation.

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

Implementation

Future<void> animatedRotateFrom(
  double degree, {
  Curve? curve,
  String? customId,
}) {
  return animateTo(
    rotation: rotation + degree,
    curve: curve,
    customId: customId,
  );
}