PrefDialogButton constructor

const PrefDialogButton(
  1. {Key? key,
  2. Widget? title,
  3. required PrefDialog dialog,
  4. Widget? subtitle,
  5. Widget? leading,
  6. Widget? trailing,
  7. bool? disabled,
  8. VoidCallback? onPop,
  9. bool barrierDismissible = true,
  10. VoidCallback? onSubmit,
  11. VoidCallback? onDismiss}
)

Create a PrefDialogButton

Implementation

const PrefDialogButton({
  super.key,
  this.title,
  required this.dialog,
  this.subtitle,
  this.leading,
  this.trailing,
  this.disabled,
  this.onPop,
  this.barrierDismissible = true,
  this.onSubmit,
  this.onDismiss,
});