DigitDobPicker constructor

const DigitDobPicker({
  1. Key? key,
  2. required String datePickerFormControl,
  3. bool isVerified = false,
  4. ControlValueAccessor? valueAccessor,
  5. required String datePickerLabel,
  6. required String ageFieldLabel,
  7. required String yearsHintLabel,
  8. required String monthsHintLabel,
  9. required String separatorLabel,
  10. required String yearsAndMonthsErrMsg,
  11. DateTime? initialDate,
  12. String confirmText = 'OK',
  13. String cancelText = 'Cancel',
  14. void onChangeOfFormControl(
    1. 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,
});