Package-level declarations

Functions

Link copied to clipboard
fun Modifier.imitateComposeUiLayout(): Modifier

A modifier for layouts to make them more consistent with the Compose UI behavior. fit-content is used for both width and height so the layout wraps its content tightly, like the default behavior of Column, Row, and Box in Compose UI.

Link copied to clipboard
fun Modifier.size(width: Width, height: Height): Modifier
Link copied to clipboard
fun Modifier.sizeFitContent(): Modifier

Consider using Modifier.imitateComposeUiLayout instead when adding this for a layout.