CustomDatePickerScreen constructor

const CustomDatePickerScreen({
  1. Key? key,
  2. required TextEditingController dateController,
  3. required String hintText,
  4. bool showAllDate = false,
  5. bool showBeforeDate = false,
  6. bool showFutureDate = false,
  7. bool isAgeBelowValidation = false,
  8. bool showEmailCaseRequiredSignUp = false,
  9. String? validateName,
  10. FocusNode? focusNode,
  11. dynamic onChanged(
    1. String text
    )?,
  12. Widget? suffixWidget,
  13. dynamic inputFieldCustomValidation(
    1. String text
    )?,
  14. bool hideEditIcon = true,
  15. dynamic inputFieldOnChanged(
    1. String text
    )?,
  16. String? inputFieldHintText,
  17. String? inputFieldLabelText,
  18. Function? onOkButtonClicked,
  19. String? labelText = "Select Date",
})

Implementation

const CustomDatePickerScreen({
  super.key,
  required this.dateController,
  required this.hintText,
  this.showAllDate = false,
  this.showBeforeDate = false,
  this.showFutureDate = false,
  this.isAgeBelowValidation = false,
  this.showEmailCaseRequiredSignUp = false,
  this.validateName,
  this.focusNode,
  this.onChanged,
  this.suffixWidget,
  this.inputFieldCustomValidation,
  this.hideEditIcon = true,
  this.inputFieldOnChanged,
  this.inputFieldHintText,
  this.inputFieldLabelText,
  this.onOkButtonClicked,
  this.labelText = "Select Date",
});