DateSelector constructor

const DateSelector({
  1. Key? key,
  2. dynamic onSelect(
    1. DateTime dateTime
    )?,
  3. PickerType type = PickerType.yyyyMMdd,
  4. required DateTime selectDateTime,
})

Implementation

const DateSelector(
    {Key? key,
    this.onSelect,
    this.type = PickerType.yyyyMMdd,
    required this.selectDateTime})
    : super(key: key);