Interface

NestedStyleConsumerStyleScope

A scope that allows applying a style defined in a parent style.

Source set: Common
public interface NestedStyleConsumerStyleScope

A scope that allows applying a style defined in a parent style.

Functions

applyNestedStyle

Source set: Common
public fun applyNestedStyle(key: NestedStyleKey)

Applies a style with the given key defined in a parent style. If no style is provided by the parent for the given key, calling this is equivalent to an empty style.

Parameters

key the key used to look up the style to apply

Content updated: