Compose Component

SpatialBasicAlertDialog

Basic alert dialog dialog.

SpatialBasicAlertDialog

Source set: Android
@Composable
public fun SpatialBasicAlertDialog(
    onDismissRequest: () -> Unit,
    properties: SpatialDialogProperties = SpatialDialogProperties(),
    content: @Composable () -> Unit,
)

Parameters

onDismissRequest called 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.
properties typically platform specific properties to further configure the dialog.
content the content of the dialog
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: