NiceConfirmDialog constructor

const NiceConfirmDialog({
  1. Key? key,
  2. required String title,
  3. required String message,
  4. String confirmLabel = 'Potwierdź',
  5. String cancelLabel = 'Anuluj',
  6. NiceConfirmSeverity severity = NiceConfirmSeverity.warning,
  7. IconData? icon,
  8. IconData? confirmIcon,
})

Implementation

const NiceConfirmDialog({
  super.key,
  required this.title,
  required this.message,
  this.confirmLabel = 'Potwierdź',
  this.cancelLabel = 'Anuluj',
  this.severity = NiceConfirmSeverity.warning,
  this.icon,
  this.confirmIcon,
});