Compose Modifier

placement

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.

placement

Source set: Common
public 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 called during layout to determine the size of blocks. This l

Content updated: