Source set: Common
public interface CustomStyleScope :
Density, CompositionLocalAccessorScope, StylePropertyProviderScope
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.
By default, a CustomStyleScope does not include AnimateStyleScope and StyleStateScope which should be added for these features to be usable in the corresponding CustomStyle type. CommonStyleScope can be used instead which includes both.