BasicAlertDialogOverrideScope

Class

Common
@ExperimentalMaterial3ComponentOverrideApi
class BasicAlertDialogOverrideScope
internal constructor(
    val onDismissRequest: () -> Unit,
    val modifier: Modifier = Modifier,
    val properties: DialogProperties = DialogProperties(),
    val content: @Composable () -> Unit,
)

Parameters available to BasicAlertDialog.

Parameters

onDismissRequestcalled when the user tries to dismiss the Dialog by clicking outside or pressing the back button. This is not called when the dismiss button is clicked.
modifierthe Modifier to be applied to this dialog's content.
propertiestypically platform specific properties to further configure the dialog.
contentthe content of the dialog