KillSwitchDialog constructor

const KillSwitchDialog({
  1. Key? key,
  2. required VoidCallback onClose,
  3. KillSwitchTheme? theme,
  4. String? title,
  5. String? message,
  6. String? buttonText,
  7. dynamic onFormAction(
    1. String action,
    2. Map<String, dynamic> data
    )?,
  8. bool enableRichContent = true,
})

Implementation

const KillSwitchDialog({
  super.key,
  required this.onClose,
  this.theme,
  this.title,
  this.message,
  this.buttonText,
  this.onFormAction,
  this.enableRichContent = true,
});