androidx.compose.foundation.style

CustomStyleScopeSince 1.12Experimental

Interface · from org.jetbrains.compose.foundation:foundation:1.12.2

No hand-written docs yet.

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

interface CustomStyleScope : Density, CompositionLocalAccessorScope

Is a

Library docs

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.