Package-level declarations

Functions

Link copied to clipboard
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.

Link copied to clipboard
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.

Link copied to clipboard
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.

Link copied to clipboard
fun slideHorizontalTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

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

Link copied to clipboard
fun slideInFromBottomTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

New screen slides in from off-screen bottom; the outgoing screen doesn't animate out. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideInFromLeftTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

New screen slides in from off-screen left; the outgoing screen doesn't animate out. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideInFromRightTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

New screen slides in from off-screen right; the outgoing screen doesn't animate out. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideInFromTopTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

New screen slides in from off-screen top; the outgoing screen doesn't animate out. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideOutToBottomTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Outgoing screen slides out toward off-screen bottom; the incoming screen doesn't animate in (appears immediately underneath). Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideOutToLeftTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Outgoing screen slides out toward off-screen left; the incoming screen doesn't animate in (appears immediately underneath). Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideOutToRightTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Outgoing screen slides out toward off-screen right; the incoming screen doesn't animate in (appears immediately underneath). Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideOutToTopTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Outgoing screen slides out toward off-screen top; the incoming screen doesn't animate in (appears immediately underneath). Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideOverTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

The new screen slides in from the right and settles on top; the outgoing screen stays put underneath, unanimated, until the transition finishes (rather than sliding out) — the classic "new screen slides over the previous one" effect. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.

Link copied to clipboard
fun slideVerticalTransition(animationSpec: AnimationSpecSchema = AnimationSpecSchema.Tween()): ContentTransitionSchema

Vertical push/pop pair: the new screen slides in from the bottom while the outgoing one slides out to the top. Used as a Graph/NestedNavigationGraph/entry transition, popTransition or predictivePopTransition.