FocusDialog.kt |
Reusable composable for an alert dialog.
@param dialogTitle (mandatory) text displayed as the dialog title.
@param dialogTextComposable (optional) A composable displayed as dialog text
@param dialogText (optional) A text displayed as dialog text when [dialogTextComposable] is null.
@param onConfirmRequest (event) Action to perform on dialog confirm action.
@param onDismissRequest (event) Action to perform on dialog dismissal.
@param isConfirmButtonEnabled (optional) whether the confirm [DialogTextButton] is enabled. Default value is true.
@param isDismissButtonEnabled (optional) whether the confirm [DialogTextButton] is enabled. Default value is true.
@param isConfirmButtonVisible (optional) whether the confirm [DialogTextButton] is visible. Default value is true.
@param isDismissButtonVisible (optional)whether the confirm [DialogTextButton] is visible. Default value is true.
|
6307 |