ChoicePreferenceItem
fun <T> ChoicePreferenceItem(title: String, options: List<T>, selected: T, optionLabel: @Composable (T) -> String, onSelect: (T) -> Unit, modifier: Modifier = Modifier, icon: ImageVector? = null, dialogIcon: ImageVector? = icon)(source)
Preference row showing the selected option as its summary. Tapping it opens a radio-choice dialog; selection calls onSelect and closes the dialog.
Parameters
dialogIcon
Icon for the dialog, independent of the optional row icon.