Slide 63
Slide 63 text
luca_nicolett
Jetpack Compose
@Composable
fun AlertDialog(
onCloseRequest: () -> Unit,
title: (@Composable() () -> Unit)? = null,
text: (@Composable() () -> Unit),
confirmButton: (@Composable() () -> Unit),
dismissButton: (@Composable() () -> Unit)?,
buttonLayout: AlertDialogButtonLayout
) {
Dialog(onCloseRequest = onCloseRequest) {
/* ... */
}
}