ModulaDateTimePicker constructor
const
ModulaDateTimePicker({
- required ModulaPickerType pickerType,
- Key? key,
- String? label,
- DateTime? initialDate,
- DateTime? firstDate,
- DateTime? lastDate,
- ValueChanged<
DateTime> ? onDateChanged, - ValueChanged<
TimeOfDay> ? onTimeChanged, - ValueChanged<
DateTimeRange< ? onRangeChanged,DateTime> > - bool showAmPm = true,
- bool is24Hour = false,
Implementation
const ModulaDateTimePicker({
required this.pickerType,
super.key,
this.label,
this.initialDate,
this.firstDate,
this.lastDate,
this.onDateChanged,
this.onTimeChanged,
this.onRangeChanged,
this.showAmPm = true,
this.is24Hour = false,
});