ez_animation
ez_animation copied to clipboard
Use ezanimation for Transitions
Thanks for this awesome package.
Can we use this for Transitions too?
EzAnimation ezAnimation = EzAnimation.tween(
Tween(begin: 0.0, end: 1.0), Duration(seconds: 2),
context: context);
FadeTransition(
opacity: ezAnimation, //Error
child: Container()
)
When I try this I get Type Ezanimation can't be assigned to parameter type Animation<double>. Is this not possible using Ezanimation package or am I doing something wrong?
This has a couple of solutions, I'll test a bit more and push out the best in the next version. Thanks for the issue!