Composables UI is out: our new component library for Compose Multiplatform ->
Interface

CustomStyleScope

An interface that is the base interface for all styles scopes.

Source set: Common
@ExperimentalFoundationStyleApi interface CustomStyleScope : Density, CompositionLocalAccessorScope

An interface that is the base interface for all styles scopes.

CustomStyleScope is a constraint on the CustomStyle's ScopeT parameter which is the receiver scope of the style. At minimum all style scopes used as ScopeT must implement CustomStyleScope typically by delegation to a StyleScope received in a Style lambda.

Last updated: