SelectLanguageAlertDialog
fun SelectLanguageAlertDialog(currentLanguage: String, onDismiss: () -> Unit, onLanguageSelected: (String) -> Unit)(source)
A composable that displays an alert dialog for selecting the application language.
The caller owns persistence; dismissing the dialog does not save a provisional selection.
Parameters
onDismiss
Callback invoked when the dialog should be dismissed, either by clicking outside, clicking the cancel button, or after confirming a selection.
onLanguageSelected
Callback invoked when a language is confirmed, providing the selected language string value as a parameter.