SelectStartupScreenAlertDialog
fun SelectStartupScreenAlertDialog(currentRoute: String, onDismiss: () -> Unit, onStartupSelected: (String) -> Unit, sizing: DialogContentSizing = DialogContentSizing.WrapContent)(source)
A composable function that displays an androidx.compose.material3.AlertDialog allowing the user to select the startup screen for the application.
This dialog fetches available screen names and their corresponding route values via Koin dependency injection. The caller owns persistence of the confirmed selection.
Parameters
onDismiss
A callback invoked when the dialog is dismissed or the "Done" button is clicked.
onStartupSelected
A callback invoked when a startup screen is selected, providing the selected route string as a parameter.