DefaultCupertinoDatePicker constructor

const DefaultCupertinoDatePicker({
  1. required DatePickerContentData contentData,
  2. required ValueChanged<DateTime> onDateTimeChanged,
  3. CupertinoDatePickerData? data,
  4. Color? modalColor,
  5. double modalHeight = 300,
  6. CupertinoDatePickerMode mode = CupertinoDatePickerMode.date,
  7. String? doneLabel,
  8. String? cancelLabel,
  9. Key? key,
})

Implementation

const DefaultCupertinoDatePicker({
  required this.contentData,
  required this.onDateTimeChanged,
  this.data,
  this.modalColor,
  this.modalHeight = 300,
  this.mode = CupertinoDatePickerMode.date,
  this.doneLabel,
  this.cancelLabel,
  super.key,
});