CLDialog<T> constructor

const CLDialog<T>({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. VoidCallback? onCancel,
  5. FutureOr<T?> onConfirm()?,
  6. String confirmLabel = 'Conferma',
  7. String cancelLabel = 'Annulla',
})

Creates a CLDialog.

Implementation

const CLDialog({
  super.key,
  required this.title,
  this.subtitle,
  this.onCancel,
  this.onConfirm,
  this.confirmLabel = 'Conferma',
  this.cancelLabel = 'Annulla',
});