stylePlacement

Functions summary

Modifier

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

Cmn

Functions

Modifier.stylePlacement

@ExperimentalFoundationStyleApi
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.