← Back to Compose Multiplatform
ProvideTextStyle
Component
in
Compose Multiplatform
. Since 1.3.0-beta01Overview
Examples
Community Notes
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)
ProvideTextStyle
@Composable
fun ProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)
Previous Component← PlainTooltipBox
Next ComponentPullRefreshIndicator →