GNDateSelect constructor

const GNDateSelect({
  1. Key? key,
  2. String? labelText,
  3. String? hintText,
  4. Color? filledColor,
  5. DateTime? initialDate,
  6. Color? textColor,
  7. Color? iconColor,
  8. Color? borderColor,
  9. bool? isShowCancelIcon,
  10. String? emptyValidationMessage,
  11. EdgeInsetsGeometry? contentPadding,
  12. bool? isRequired,
  13. DateTime? firstDate,
  14. DateTime? lastDate,
  15. bool isInitialDate = true,
  16. required TextEditingController controller,
  17. void onDateSelected(
    1. DateTime? date
    )?,
  18. double? borderRadius,
  19. bool? disable = false,
})

Implementation

const GNDateSelect({
  super.key,
  this.labelText,
  this.hintText,
  this.filledColor,
  this.initialDate,
  this.textColor,
  this.iconColor,
  this.borderColor,
  this.isShowCancelIcon,
  this.emptyValidationMessage,
  this.contentPadding,
  this.isRequired,
  this.firstDate,
  this.lastDate,
  this.isInitialDate = true,
  required this.controller,
  this.onDateSelected,
  this.borderRadius,
  this.disable = false,
});