DigitDobPicker constructor
const
DigitDobPicker({
- Key? key,
- required String datePickerFormControl,
- bool isVerified = false,
- ControlValueAccessor? valueAccessor,
- required String datePickerLabel,
- required String ageFieldLabel,
- required String yearsHintLabel,
- required String monthsHintLabel,
- required String separatorLabel,
- required String yearsAndMonthsErrMsg,
- DateTime? initialDate,
- String confirmText = 'OK',
- String cancelText = 'Cancel',
- void onChangeOfFormControl(
- FormControl
Implementation
const DigitDobPicker({
super.key,
required this.datePickerFormControl,
this.isVerified = false,
this.valueAccessor,
required this.datePickerLabel,
required this.ageFieldLabel,
required this.yearsHintLabel,
required this.monthsHintLabel,
required this.separatorLabel,
required this.yearsAndMonthsErrMsg,
this.initialDate,
this.confirmText = 'OK',
this.cancelText = 'Cancel',
this.onChangeOfFormControl,
});