AnimatedSpacingColumnScope
Receiver scope for AnimatedSpacingColumn. It provides the standard ColumnScope parent-data modifiers together with visibility whose size, spacing, fade, and weighted allocation share one animation progress.
Functions
Link copied to clipboard
abstract fun AnimatedVisibility(visibleState: MutableTransitionState<Boolean>, modifier: Modifier = Modifier, animation: AnimatedSpacingColumnAnimation? = null, label: String = "AnimatedVisibility", content: @Composable () -> Unit)
State-driven counterpart to AnimatedVisibility whose transition remains active until the content's structural presence animation has completed.
abstract fun AnimatedVisibility(visible: Boolean, modifier: Modifier = Modifier, animation: AnimatedSpacingColumnAnimation? = null, label: String = "AnimatedVisibility", content: @Composable () -> Unit)
Emits content while entering or leaving and animates its occupied height between zero and the measured content height. The parent column uses the same progress to animate spacing symmetrically on both sides.