CustomDatePickerScreen constructor
const
CustomDatePickerScreen({
- Key? key,
- required TextEditingController dateController,
- required String hintText,
- bool showAllDate = false,
- bool showBeforeDate = false,
- bool showFutureDate = false,
- bool isAgeBelowValidation = false,
- bool showEmailCaseRequiredSignUp = false,
- String? validateName,
- FocusNode? focusNode,
- dynamic onChanged(
- String text
- Widget? suffixWidget,
- dynamic inputFieldCustomValidation(
- String text
- bool hideEditIcon = true,
- dynamic inputFieldOnChanged(
- String text
- String? inputFieldHintText,
- String? inputFieldLabelText,
- Function? onOkButtonClicked,
- 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",
});