SharedTransitionDefaults


Default values for SharedTransitionScope.sharedElement, SharedTransitionScope.sharedBounds and SharedTransitionScope.renderInSharedTransitionScopeOverlay related configurations.

Summary

Public properties

BoundsTransform

Default bounds transform used in SharedTransitionScope.sharedBounds.

Cmn
(SharedTransitionScope) -> Boolean

Default configuration for SharedTransitionScope.renderInSharedTransitionScopeOverlay to determine when the layout using this modifier should be rendered in the overlay.

Cmn

Public properties

BoundsTransform

val BoundsTransformBoundsTransform

Default bounds transform used in SharedTransitionScope.sharedBounds. This default lambda employs a spring for the animation.

RenderInOverlay

val RenderInOverlay: (SharedTransitionScope) -> Boolean

Default configuration for SharedTransitionScope.renderInSharedTransitionScopeOverlay to determine when the layout using this modifier should be rendered in the overlay. This configuration specifies that the layout should be rendered in the overlay until all shared element transitions complete (i.e., while SharedTransitionScope.isTransitionActive is true).