Property

LocalTextStyle

CompositionLocal containing the preferred TextStyle that will be used by Text components by default.

Source set: Android
public val LocalTextStyle: ProvidableCompositionLocal<TextStyle> =
    compositionLocalOf(structuralEqualityPolicy()) { TextStyle.Default }

CompositionLocal containing the preferred TextStyle that will be used by Text components by default.

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: