Class

StyleScopeMarker

A DslMarker used to ensure that properties excluded by a CustomStyleScope do not resolve to the outer scope.

Source set: Common
public annotation class StyleScopeMarker

A DslMarker used to ensure that properties excluded by a CustomStyleScope do not resolve to the outer scope. For example, nested styles are declared within the parent style. If a nested style doesn't expose a property, it shouldn't incorrectly capture the parent property.

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: