ProvideTextStyle

Composable Component

This function is used to set the current value of LocalTextStyle, merging the given style with the current style values for any missing attributes. Any Text components included in this component's content will be styled with this style unless styled explicitly.

Android
@Composable
public fun ProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)

Create your own Component Library

Material Components are meant to be used as is and they do not allow customizations. To build your own Jetpack Compose component library use Compose Unstyled