CustomDateField constructor

const CustomDateField({
  1. Key? key,
  2. dynamic onDateSelected(
    1. DateTime
    )?,
  3. required IconData icon,
  4. required String hintText,
})

Implementation

const CustomDateField({
  Key? key,
  this.onDateSelected,
  required this.icon,
  required this.hintText,
}) : super(key: key);