xxfast
animateColorBetween()
Ben Trengrove [G]
@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 ) ) }
Colton Idle
https://youtu.be/EOQB8PTLkpY?t=439▾
A modern programming language that makes developers happier.