Scale

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

Screen scales up (80 % → 100 %) while fading in.

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.