-
-
Save Rahiche/ff939cbb0f5979d2d6ecdbe1a40cc204 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return RotationTransition( | |
turns: controller.index == 1 | |
? angle.animate(animation) | |
: angle.animate(ReverseAnimation(animation)), | |
alignment: Alignment.center, | |
child: ScaleTransition( | |
scale: tween.animate(animation), | |
child: child, | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment