AnimatedSpacingRowScope
Receiver scope for AnimatedSpacingRow. It provides the standard RowScope parent-data modifiers together with visibility whose size, spacing, fade, and weighted allocation share one animation progress.
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun AnimatedVisibility(visibleState: MutableTransitionState<Boolean>, modifier: Modifier = Modifier, animation: AnimatedSpacingRowAnimation? = 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: AnimatedSpacingRowAnimation? = null, label: String = "AnimatedVisibility", content: @Composable () -> Unit)
Emits content while entering or leaving and animates its occupied width between zero and the measured content width. The parent row uses the same progress to animate spacing symmetrically on both sides.