styleAppearance

Functions summary

Modifier

Transitionary modifier.

Cmn

Functions

Modifier.styleAppearance

@ExperimentalFoundationStyleApi
fun Modifier.styleAppearance(styleResolver: StyleResolver): Modifier

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

This modifier is to help enable transition between the old Style based API and the new CustomStyle based API. This duplicates the behavior of the properties from BorderScope, BackgroundScope, ForegroundScope, ShadowScope of Style.

This will be moved to be an example of how to use appearance to implement the style properties similar to those provided in Style.