slideHorizontalReverseTransition

fun slideHorizontalReverseTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Reverse of slideHorizontalTransition — the previous screen slides back in from the left while the current one slides out to the right. The natural popTransition to pair with slideHorizontalTransition as transition, so pushing and popping visually mirror each other instead of both sliding in the same direction. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Parameters

animationSpec

Timing/easing curve driving the slide. Defaults to a standard tween.