Stylish Alert Dialog
A modal alert dialog that prompts the user for a decision, wrapping the Material 3 AlertDialog with Stylish defaults.
Supply title and text for the message, and wire confirmButton and dismissButton — typically TextButtons or the com.segnities007.stylishui.components.organisms.StylishDialogActions row. The dialog does not set up any events itself: callers own dismissal via onDismissRequest and each button's callback.
Parameters
Called when the user taps outside the dialog or presses the system back button.
Modifier applied to the dialog content.
Optional heading that states the purpose of the dialog.
Optional body text with the details of the dialog.
Composable for the action that confirms the proposed action, e.g. a TextButton labelled "OK".
Optional composable for the action that dismisses the dialog, e.g. a TextButton labelled "キャンセル".
Background color of the dialog. Defaults to MaterialTheme.colorScheme.surfaceContainerHigh.
Corner shape of the dialog. Defaults to RoundedCornerShape with StylishTheme.dimensions.connectedCornerRadius.
Tonal elevation of the dialog surface. Defaults to 1.dp for a subtle lift.
Platform-specific DialogProperties of the dialog. Defaults to using the platform default width.