placement

Functions summary

Modifier

Declares a callback, block, that allows controlling size and placement.The incoming measurement Constraints may override values provided by block, forcing the content to be either smaller or larger.

Cmn

Functions

Modifier.placement

@ExperimentalFoundationStyleApi
fun Modifier.placement(block: PlacementModifierScope.() -> Unit): Modifier

Declares a callback, block, that allows controlling size and placement.The incoming measurement Constraints may override values provided by block, forcing the content to be either smaller or larger.

Parameters
block: PlacementModifierScope.() -> Unit

called during layout to determine the size of blocks. This l