ArcaneDateTimePicker constructor

const ArcaneDateTimePicker({
  1. DateTime? value,
  2. void onChanged(
    1. DateTime?
    )?,
  3. String? label,
  4. String? placeholder,
  5. bool disabled = false,
  6. String? error,
  7. bool clearable = true,
  8. DateTimePickerSize size = DateTimePickerSize.md,
  9. DateTime? minDate,
  10. DateTime? maxDate,
  11. bool disabledDates(
    1. DateTime
    )?,
  12. String formatDate(
    1. DateTime
    )?,
  13. bool use24Hour = false,
  14. int minuteInterval = 1,
  15. bool showSeconds = false,
  16. Key? key,
})

Implementation

const ArcaneDateTimePicker({
  this.value,
  this.onChanged,
  this.label,
  this.placeholder,
  this.disabled = false,
  this.error,
  this.clearable = true,
  this.size = DateTimePickerSize.md,
  this.minDate,
  this.maxDate,
  this.disabledDates,
  this.formatDate,
  this.use24Hour = false,
  this.minuteInterval = 1,
  this.showSeconds = false,
  super.key,
})  : mode = DateTimePickerMode.dateTime,
      timeValue = null,
      onDateChanged = null,
      onTimeChanged = null;