BoxScope

@Immutable
interface BoxScope

A BoxScope provides a scope for the children of Box.

Functions

Link copied to clipboard
@Stable
abstract fun Modifier.align(alignment: Alignment): Modifier

Pull the content element to a specific Alignment within the Box. This alignment will have priority over the Box's alignment parameter.

Link copied to clipboard
@Stable
abstract fun Modifier.matchParentSize(): Modifier

Size the element to match the size of the Box after all other content elements have been measured.