State of Compose 2023 results are in! Click here to learn more

← Back to Tv Material

ProvideTextStyle

Component
in
Tv Material
. Since 1.0.0-alpha07

Overview

Code Examples

Video

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.

@see LocalTextStyle

Overloads

ProvideTextStyle

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