Options

There are a few common options that you can change for all dialogs. They are all defined inside the Options class.

/**
 * the main options for a dialog
 *
 * @param dismissOnButtonClick if true, the dialog will be automatically dismissed if a dialog button is clicked
 * @param dismissOnBackPress if true, the dialog will be dismissed if the user pressed the back button
 * @param dismissOnClickOutside if true, the dialog will be dismissed if the user clicks outside of the dialog
 */
data class Options(
    val dismissOnButtonClick: Boolean = true,
    val dismissOnBackPress: Boolean = true,
    val dismissOnClickOutside: Boolean = true,
)