is `animateColorBetween()` only available in compo...
# compose
x
is
animateColorBetween()
only available in compose >1.2?
b
It's not a real function, we just used it as an example
Here you go though
Copy code
@Composable
fun animateColorBetween(start: Color, end: Color): State<Color> {
    val infiniteTransition = rememberInfiniteTransition()
    return infiniteTransition.animateColor(
        initialValue = start,
        targetValue = end,
        animationSpec = infiniteRepeatable(
            animation = tween(1000, easing = LinearOutSlowInEasing),
            repeatMode = RepeatMode.Reverse
        )
    )
}
🦜 2
👌 1
🙌 1
😍 2
c
Was this used in a video or docs somewhere?
b

https://youtu.be/EOQB8PTLkpY?t=439

It's also in the new performance docs but the docs call it out as not being real
c
aha. sstill in my queue!