Package-level declarations
Types
Link copied to clipboard
Describes the animation style used when a screen enters or exits the composition.
Link copied to clipboard
data class ResolvedNavTransition(val durationMillis: Int, val alpha: (Float) -> Float = { 1f }, val scaleX: (Float) -> Float = { 1f }, val scaleY: (Float) -> Float = { 1f }, val translationX: (Float) -> Float = { 0f }, val translationY: (Float) -> Float = { 0f }, val rotationZ: (Float) -> Float = { 0f })
The concrete, renderer-ready form of a NavTransition.
Functions
Link copied to clipboard
fun NavTransition.resolve(screenWidth: Float, screenHeight: Float, isForward: Boolean = true): ResolvedNavTransition
Resolves this NavTransition into a ResolvedNavTransition with concrete per-frame lambdas.