Flutter has tons of features related to Animations which are very useful. Currently I'm working in a project where I have to create complex animation.
There will be an envelop. On user interaction, it will be opened and a card will be shown with animation. But some parameters of the animation will be dynamic like BackgroundColor, CardText, CardImageUrl, EnvelopColor. Note that envelop can have shadow effect based on the color of it.
I can achieve this using Rive animations. But setting the dynamic parameters is the problem. I want to go through ideas to accomplish this. I'd be glad if you help me finding out some ways for this kind of complex animation.