textStyles

fun textStyles(textStyle: TextStyle = LocalTextStyle.current.copy(fontSize = 16.sp), selectedTextStyle: TextStyle = LocalTextStyle.current.copy(fontSize = 22.sp)): PickerTextStyles

Creates a PickerTextStyles with the provided text styles.

Return

A PickerTextStyles instance with the specified styles.

Parameters

textStyle

The style of the text for unselected items.

selectedTextStyle

The style of the text for the selected item.