-
public final class SimpleDialogKt
-
-
Method Summary
-
-
Method Detail
-
SimpleDialog
@Composable() final static Unit SimpleDialog(String title, String message, Function0<Unit> onPositiveAction, Function0<Unit> onDismiss, Modifier modifier, Boolean showDismissButton)
Generic dialog component that allows us to prompt the user.
- Parameters:
title- Title for the dialog.message- Message for the dialog.onPositiveAction- Handler when the user confirms the dialog.onDismiss- Handler when the user dismisses the dialog.modifier- Modifier for styling.showDismissButton- If we should show the dismiss button or not.
-
-
-
-