Function

toCommonStyle

Transitionary modifier.

toCommonStyle

Source set: Common
@Deprecated(
    StyleToCustomStyle,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
public fun Style.toCommonStyle(): CommonStyle

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Convert a Style into a CommonStyle for use by the StyleResolver.

This function will be removed before style becomes stable. It is not yet deprecated to facilitate removing code that was written using the experimental 1.11 version of this API.

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: