ModulaDateTimePicker constructor

const ModulaDateTimePicker({
  1. required ModulaPickerType pickerType,
  2. Key? key,
  3. String? label,
  4. DateTime? initialDate,
  5. DateTime? firstDate,
  6. DateTime? lastDate,
  7. ValueChanged<DateTime>? onDateChanged,
  8. ValueChanged<TimeOfDay>? onTimeChanged,
  9. ValueChanged<DateTimeRange<DateTime>>? onRangeChanged,
  10. bool showAmPm = true,
  11. 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,
});