InputDialogProps constructor
const
InputDialogProps({
- required String title,
- String? message,
- String placeholder = '',
- String? initialValue,
- String confirmText = 'Confirm',
- String cancelText = 'Cancel',
- void onConfirm(
- String value
- void onCancel()?,
- String? validator(
- String value
- InputDialogType type = InputDialogType.text,
- int? maxLength,
- int maxLines = 1,
- bool requireWorkEmail = false,
- List<
String> ? blockedDomains, - num? minValue,
- 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,
});