InputDialogProps constructor

const InputDialogProps({
  1. required String title,
  2. String? message,
  3. String placeholder = '',
  4. String? initialValue,
  5. String confirmText = 'Confirm',
  6. String cancelText = 'Cancel',
  7. void onConfirm(
    1. String value
    )?,
  8. void onCancel()?,
  9. String? validator(
    1. String value
    )?,
  10. InputDialogType type = InputDialogType.text,
  11. int? maxLength,
  12. int maxLines = 1,
  13. bool requireWorkEmail = false,
  14. List<String>? blockedDomains,
  15. num? minValue,
  16. num? maxValue,
})

Implementation

const InputDialogProps({
  required this.title,
  this.message,
  this.placeholder = '',
  this.initialValue,
  this.confirmText = 'Confirm',
  this.cancelText = 'Cancel',
  this.onConfirm,
  this.onCancel,
  this.validator,
  this.type = InputDialogType.text,
  this.maxLength,
  this.maxLines = 1,
  this.requireWorkEmail = false,
  this.blockedDomains,
  this.minValue,
  this.maxValue,
});