Arrangement
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A special value indicating that this element's arrangement will be controlled manually using CSS styles.
Link copied to clipboard
Base class for arrangement values that makes sense in a horizontal direction.
Link copied to clipboard
Base class for arrangement values that can be passed in as either horizontal or vertical arrangement parameters.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Arranges the children of the container with a fixed space for both horizontal and vertical orientations. This function is marked as stable, ensuring that its result can be safely used in recompositions.
fun spacedBy(space: CSSLengthOrPercentageNumericValue, alignment: Alignment.Horizontal): Arrangement.Horizontal
Arranges the children of the container with a fixed space for vertical orientations. An alignment can be specified to align the spaced children vertically inside the parent, in case there is width remaining.
fun spacedBy(space: CSSLengthOrPercentageNumericValue, alignment: Alignment.Vertical): Arrangement.Vertical