🌈 Create new beautiful Compose Gradients with our new wesite ->
Composable Function

animateFloat

Creates an animation of Float type that runs infinitely as a part of the given InfiniteTransition.

InfiniteTransitionSample

@Sampled
@Composable
fun InfiniteTransitionSample() {

AnimateFloatSample

@Sampled
@Composable
fun AnimateFloatSample() {
    // enum class ButtonStatus {Initial, Pressed, Released}