Selectable group
Make the entire row toggle the selection, not just the dot.
val options = listOf("Standard", "Priority", "Express")
var selected by remember { mutableStateOf(options.first()) }
options.forEach { option ->
Row(
modifier = Modifier.selectable(
selected = option == selected,
onClick = { selected = option }
),
verticalAlignment = Alignment.CenterVertically
) {
RadioButton(selected = option == selected, onClick = null)
Text(option)
}
}