AnimatedRotation
An implicitly animated version of RotationTransition which automatically transitions the rotation over time when the provided angle changes.
Install
Get it from pub.
Add the dependency to your pubspec.yaml
Run flutter pub get
in your root folder after saving the pubspec.yaml file
Usage
Here is an example of the counter app with text rotating based on the count