DEV Community

Discussion on: Flutter Flip Card Animation With 3D Effect

Collapse
 
manudevcode profile image
Manuel Alejandro

_TypeError (type 'int' is not a subtype of type 'double') on rotateX params

Collapse
 
legendree profile image
Legendree • Edited

Tween in your initState()

Collapse
 
ngaretou profile image
ngaretou • Edited

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.