Implementing Card Flip Animation In Flutter will not be hard as you think because of the Widgets and Classes provided by Flutter.
Start ...
For further actions, you may consider blocking this person and/or reporting abuse
Do you have one for horizontal?
Try changing this line:
..rotateX(pi * _animation.value),
to:
..rotateY(pi * _animation.value),
_TypeError (type 'int' is not a subtype of type 'double') on rotateX params
I had the same problem! Eventually tracked it down - change the fourth line down in the complete code:
Animation _animation;
to:
Animation<double> _animation;
That should do it.
It seems like markdown strips out the angle brackets and what's in them - something there I think must be the problem.
Tween in your initState()