ScaleOut

@Serializable
class ScaleOut(val durationMillis: Int = DEFAULT_ANIMATION_DURATION) : NavTransition(source)

Screen scales down (100 % → 80 %) while fading out.

Constructors

Link copied to clipboard
constructor(durationMillis: Int = DEFAULT_ANIMATION_DURATION)

Properties

Link copied to clipboard
open override val durationMillis: Int

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.