fadeTransition

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

Cross-fade pair: the new screen fades in while the outgoing one fades out, both in place. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Parameters

animationSpec

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