Package-level declarations

Functions

Link copied to clipboard
@Stable
fun Arrangement.fixedSpacedBy(space: Dp): Arrangement.HorizontalOrVertical

Places children such that each two adjacent ones are spaced by a fixed space distance across the main axis. The spacing is subtracted from the available space that the children can occupy. The space can be negative, in which case children will overlap.

@Stable
fun Arrangement.fixedSpacedBy(space: Dp, alignment: Alignment.Horizontal): Arrangement.Horizontal

Places children horizontally such that each two adjacent ones are spaced by a fixed space distance. The spacing is subtracted from the available width that the children can occupy. An alignment can be specified to align the spaced children horizontally inside the parent, in case there is remaining empty width. The space can be negative, in which case children will overlap.