KPAlertDialog
Displays an KPAlertDialog with customizable options for title, message, and buttons.
This composable function allows you to create an alert dialog with a title, a message, and optional buttons. You can specify a negative button, a positive button, and a neutral button, each of which can be customized with composable content.
Parameters
Modifier to be applied to the AlertDialog container.
The title text to be displayed at the top of the dialog. Defaults to an empty string.
The main content message to be displayed in the dialog. This parameter is required.
Configuration options for the dialog's behavior.
Composable function for the negative button. If null, no negative button is shown.
Composable function for the positive button. If null, no positive button is shown.
Composable function for the neutral button. If null, no neutral button is shown.
A lambda function that is called when the dialog is requested to be dismissed.