Can we control the duration in case of spring anim...
# compose
v
Can we control the duration in case of spring animation while using them as animation spec ?
c
Spring is not duration based so to achieve a similar effect of duration you can play around with stiffness
Tween is your friend if you want to explicitly set duration
v
haven't tried stiffness will check thanks 👍
d
Stiffness and damping are both adjustable for springs. Stiffness would change the overall perceived velocity - the stiffness the spring, the faster the animation. Damping ratio changes the perceived bounciness.