TransitionSet

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

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.