Flutter rotate animation, tutorial and example.
2 min readSep 14, 2021
First, let your widget state class implement SingleTickerProviderStateMixin
.
Secondly, define an AnimationController
and don't forget to dispose it. If you are not yet using null-safe, remove the late
keyword.