getEndVelocity
open override fun getEndVelocity(initialValue: Float, targetValue: Float, initialVelocity: Float): Float
Calculates the end velocity of the animation with the provided start/end values, and start velocity. For duration-based animations, end velocity will be the velocity of the animation at the duration time. This is also the default assumption. However, for spring animations, the transient trailing velocity will be snapped to zero.
Parameters
initialValue
start value of the animation
targetValue
end value of the animation
initialVelocity
start velocity of the animation