styleResolver

Functions summary

Modifier

A modifier that binds a StyleResolver to the location in the composition it should resolve properties.

Cmn

Functions

Modifier.styleResolver

@ExperimentalFoundationStyleApi
fun Modifier.styleResolver(styleResolver: StyleResolver): Modifier

A modifier that binds a StyleResolver to the location in the composition it should resolve properties. A StyleResolver is required to be passed to one and only one styleResolver modifier. An exception will be thrown if a StyleResolver instance is supplied to more than one styleResolver modifiers.

Parameters
styleResolver: StyleResolver

the resolver to be bound to this modifier.