Compose Modifier

styleResolver

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

styleResolver

Source set: Common
public 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 the resolver to be bound to this modifier.

Content updated: