DialogConfirmText constructor

const DialogConfirmText({
  1. Key? key,
  2. bool destructive = false,
  3. required String title,
  4. String? description,
  5. Widget descriptionWidget = const SizedBox.shrink(),
  6. String confirmText = "Confirm",
  7. String cancelText = "Cancel",
  8. required String verificationText,
  9. required void onConfirm(),
  10. bool ignoreCase = false,
  11. List<Widget>? actions,
  12. TextInputType? keyboardType,
})

Implementation

const DialogConfirmText({
  super.key,
  this.destructive = false,
  required this.title,
  this.description,
  this.descriptionWidget = const SizedBox.shrink(),
  this.confirmText = "Confirm",
  this.cancelText = "Cancel",
  required this.verificationText,
  required this.onConfirm,
  this.ignoreCase = false,
  this.actions,
  this.keyboardType,
});