Material3AlertDialogContent
Material Design basic dialog content
This composable provides the content layout for a Material3 alert dialog without creating the actual dialog itself. It's useful when you want to customize how the dialog is shown or integrate it with different dialog containers.
Dialogs provide important prompts in a user flow. They can require an action, communicate information, or help users accomplish a task.
Parameters
the Modifier to be applied to this dialog content surface
optional composable that displays the title of the dialog
optional composable that displays the main text content of the dialog
button which is meant to confirm a proposed action. The dialog does not set up any events for this button so they need to be set up by the caller.
optional button which is meant to dismiss the dialog. The dialog does not set up any events for this button so they need to be set up by the caller.
defines the shape of this dialog's container surface
the color used for the background of this dialog surface
the content color used for the title
the content color used for the text
when containerColor is ColorScheme.surface, a translucent primary color overlay is applied on top of the container. A higher tonal elevation value will result in a darker color in light theme and lighter color in dark theme.