Box

fun ViewScope.Box(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)(source)

A container that stacks children on top of each other.

If a border is applied via Modifier.border, implicit padding of 1 is added to prevent children from overlapping the border.