Transition Set
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
enter Forward
: The transition applied to the slide when it enters the screen from the previous slide (user navigated forward).
enter Backward
: The transition applied to the slide when it enters the screen from the next slide (user navigated backward).
exit Forward
: The transition applied to the slide when it exits the screen to the next slide (user navigated forward).
exit Backward
: 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 })