Compose Modifier

stylePlacement

Maps properties set in a style and resolved by styleResolver to values passed to the Modifier.placement modifier.

stylePlacement

Source set: Common
public fun Modifier.stylePlacement(styleResolver: StyleResolver): Modifier

Maps properties set in a style and resolved by styleResolver to values passed to the Modifier.placement modifier.

NOTE: stylePlacement is a transitionary modifier that will be removed before styles becomes stable. It helps transition away from the experimental version of styles in 1.11 and 1.12.

The properties used by this modifier are being replace by design-system specific properties defined in design system layers above foundation, such as Material.

Content updated: