Function

apply

Apply style to the current StyleScope.

apply

Source set: Common
public inline fun <ScopeT : CustomStyleScope, StyleT : CustomStyle<ScopeT>> ScopeT.apply(
    style: StyleT
)

Apply style to the current StyleScope. Applying the scope calls the scope applies any properties set in the scope directly.

Parameters

style the style to apply.
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: