VoiceLanguagesLayout

fun VoiceLanguagesLayout(state: VoicesScreenViewModel, theme: NavigationSettingsTheme = NavigationSettingsTheme.defaults())

Displays the list of available voice languages for the voice settings screen. Shows the currently selected language, includes the “All languages” option, and lets the user switch to another language. Each item displays a localized language name and a check mark next to the active selection.

Parameters

state

ViewModel that provides the available languages and the current selection, and handles language selection.

theme

Color and typography tokens.