DefaultCupertinoDatePicker constructor
const
DefaultCupertinoDatePicker({
- required DatePickerContentData contentData,
- required ValueChanged<
DateTime> onDateTimeChanged, - CupertinoDatePickerData? data,
- Color? modalColor,
- double modalHeight = 300,
- CupertinoDatePickerMode mode = CupertinoDatePickerMode.date,
- String? doneLabel,
- String? cancelLabel,
- 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,
});