ConfirmDialog constructor

ConfirmDialog({
  1. Key? key,
  2. String? description,
  3. required String title,
  4. required List<ConfirmDialogVariant> variants,
  5. int initial = 0,
  6. String? label,
  7. List<Widget> additional = const [],
})

Implementation

ConfirmDialog({
  super.key,
  this.description,
  required this.title,
  required this.variants,
  this.initial = 0,
  this.label,
  this.additional = const [],
}) : assert(variants.isNotEmpty);