animateValue
fun <T> animateValue(from: T, to: T, typeConverter: TypeConverter<T>, animation: DurationBasedAnimationSpec<T> = tween(), repeatMode: RepeatMode = RepeatMode.Reverse, initialStartOffset: StartOffset = StartOffset(0), label: String = ""): Value<T>
Loops a value of type T between from and to using a custom TypeConverter. The generic form behind animateFloat / animateInt / animateColor / animateDimen. Allocates no AnimatedValue — it records a descriptor and returns a stable slot handle.