fadeAndSlideHorizontalTransition

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

Combined fade + horizontal push/pop pair: the new screen fades and slides in from the right while the outgoing one fades and slides out to the left. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Parameters

animationSpec

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