public class DeferredTransitionBehavior internal constructor(private val value: Int)
Defines how a shared element behaves during the deferred phase of a DeferredTransition.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
FollowContainer
public val FollowContainer: DeferredTransitionBehavior = DeferredTransitionBehavior(0)
The shared element visually transforms (scale, offset) with its parent container during the deferred phase of a DeferredTransition, appearing attached to its parent container until the transition switches to the automatic phase.
Static
public val Static: DeferredTransitionBehavior = DeferredTransitionBehavior(1)
The shared element detaches from its parent container's manual transformations and remains static at its initial bounds during the deferred phase of a DeferredTransition.
SeekToTarget
public val SeekToTarget: DeferredTransitionBehavior = DeferredTransitionBehavior(2)
The shared element detaches from its parent container's manual transformations and interpolates between its initial and target bounds according to MutableContentTransform.sharedElementProgress during the deferred phase of a DeferredTransition. If MutableContentTransform.sharedElementProgress is not configured, the element remains at its initial bounds.