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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: