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

rememberTransition

Creates a Transition and puts it in the currentState of the provided transitionState.

InitialStateSample

@Sampled
fun InitialStateSample() {
    // This composable enters the composition with a custom enter transition. This is achieved by
    // defining a different initialState than the first target state using `MutableTransitionState`

DoubleTapToLikeSample

@Sampled
@Composable
fun DoubleTapToLikeSample() {
    // enum class LikedStates { Initial, Liked, Disappeared }

Content updated: