resolve

fun NavTransition.resolve(screenWidth: Float, screenHeight: Float, isForward: Boolean = true): ResolvedNavTransition(source)

Resolves this NavTransition into a ResolvedNavTransition with concrete per-frame lambdas.

Return

A ResolvedNavTransition ready for consumption by the animation system.

Parameters

screenWidth

Width of the screen in pixels; used for horizontal slide transitions.

screenHeight

Height of the screen in pixels; used for vertical slide transitions.

isForward

true when navigating forward (push); false when navigating backward (pop).