VoiceSelector

@Composable
fun VoiceSelector(voices: List<VoiceOption>, selectedId: String?, onSelect: (VoiceOption) -> Unit, modifier: Modifier = Modifier)(source)

Pick a text-to-speech voice (AI Elements <VoiceSelector>): a chip opens a searchable sheet; voices with a VoiceOption.previewUrl can be heard before choosing.