AnimatedRotation
This widget motivated by AnimatedOpacity in Flutter.
Animated version of Transform.rotate which automatically transitions the child’s rotation over a given duration whenever the given rotation changes.
See: https://api.flutter.dev/flutter/widgets/AnimatedRoation-class.html
Props
turns
Value: number
duration
Value: number
curve
Value: Curve(default Curves.linear)
child
Value: Widget | undefined