ArcaneDateTimePicker.date constructor

const ArcaneDateTimePicker.date({
  1. DateTime? value,
  2. void onDateChanged(
    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. Key? key,
})

Implementation

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