Target based animation that animates from the given initialValue towards the targetValue, with an optional initialVelocity.
initialValue
targetValue
initialVelocity
CodeRabbit
Your agent writes the code. CodeRabbit reviews it.
@Sampled fun suspendAnimateFloatVariant() {