TransitionSet

class TransitionSet(val enter: (Boolean) -> EnterTransition, val exit: (Boolean) -> ExitTransition, val modifier: @Composable AnimatedVisibilityScope.(TransitionSet.Type) -> Modifier = { Modifier })

Holds the transitions to be applied to a Slide when entering or exiting the screen.

Parameters

enterForward

: The transition applied to the slide when it enters the screen from the previous slide (user navigated forward).

enterBackward

: The transition applied to the slide when it enters the screen from the next slide (user navigated backward).

exitForward

: The transition applied to the slide when it exits the screen to the next slide (user navigated forward).

exitBackward

: The transition applied to the slide when it exits the screen to the previous slide (user navigated backward).

modifier

: A function that returns the modifier to be applied to the Slide container function of the current transition.

Constructors

Link copied to clipboard
constructor(enter: (Boolean) -> EnterTransition, exit: (Boolean) -> ExitTransition, modifier: @Composable AnimatedVisibilityScope.(TransitionSet.Type) -> Modifier = { Modifier })

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
val enter: (Boolean) -> EnterTransition
Link copied to clipboard
val exit: (Boolean) -> ExitTransition
Link copied to clipboard
val modifier: @Composable AnimatedVisibilityScope.(TransitionSet.Type) -> Modifier