Composable Component

ProvideTextStyle

This function is used to set the current value of LocalTextStyle, merging the given style with the current style values for any missing attributes.

Source set: Common

Added in 1.5.0-alpha17

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