flicked_cards provides an easy way to create custom animations but it is required to have a basic understanding
of how cards can be layed out and how to position them depending on the drag progress and some of the properties in AnimationConfig.
Animations will be provided a progress value in the range (-1, 1) you should try to make you animation symmetric around 0
when posible. Like this:
You will have to reason about relative card indices:
Interface for animations
All animations will need to implement CardAnimation which basically
defines:
animation of a particular card depending on swipe progress required
opacity of a particular card depending on swipe progress optional
where to apply transformations on cards (Fractional Offset)