Composables
Components Unstyled Icons API
Join Radar
Join Radar Components Unstyled Icons API UI Kit UI Blocks SVG to Compose Android Distribution Community Docs Blog Colors
Wear Material Compose
  • Alert
  • AppCard
  • Button
  • Card
  • Checkbox
  • Chip
  • CircularProgressIndicator
  • CompactButton
  • CompactChip
  • Confirmation
  • Dialog
  • HorizontalPageIndicator
  • Icon
  • InlineSlider
  • ListHeader
  • MaterialTheme
  • OutlinedButton
  • OutlinedChip
  • OutlinedCompactButton
  • OutlinedCompactChip
  • Picker
  • PickerGroup
  • PositionIndicator
  • ProvideTextStyle
  • RadioButton
  • Scaffold
  • ScalingLazyColumn
  • SelectableChip
  • SplitSelectableChip
  • SplitToggleChip
  • Stepper
  • SwipeToDismissBox
  • SwipeToRevealCard
  • SwipeToRevealChip
  • SwipeToRevealPrimaryAction
  • SwipeToRevealSecondaryAction
  • SwipeToRevealUndoAction
  • Switch
  • Text
  • TimeText
  • TitleCard
  • ToggleButton
  • ToggleChip
  • Vignette
Components › Wear Material Compose › ProvideTextStyle

ProvideTextStyle

View Markdown Open in ChatGPT Open in Claude

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

ProvideTextStyle

Android
@Composable
public fun ProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)
PositionIndicator ← Previous RadioButton Next →
On this page
  • ProvideTextStyle

Never miss a Compose release

Get an alert the moment a new Compose release is out: new APIs, new components, new things to experiment with. Straight from Google's servers.

Join 3,000+ Compose developers. No spam, ever.