AnimatedSpacingRowAnimation

constructor(animationSpec: FiniteAnimationSpec<Float> = spring(), fade: Boolean = true, expandFrom: Alignment.Horizontal = Alignment.Start, shrinkTowards: Alignment.Horizontal = Alignment.Start)

Parameters

animationSpec

animation used for the presence progress that drives structural sizing, spacing, and fade.

fade

whether to apply that progress as alpha in addition to structural clipping.

expandFrom

logical or absolute alignment from which content is structurally revealed while entering.

shrinkTowards

logical or absolute alignment towards which content structurally collapses while exiting.