Package 

Class SimpleDialogKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.