ArcaneDateTimePicker.time constructor

const ArcaneDateTimePicker.time({
  1. TimeOfDay? timeValue,
  2. void onTimeChanged(
    1. TimeOfDay?
    )?,
  3. String? label,
  4. String? placeholder,
  5. bool disabled = false,
  6. String? error,
  7. bool clearable = true,
  8. DateTimePickerSize size = DateTimePickerSize.md,
  9. bool use24Hour = false,
  10. int minuteInterval = 1,
  11. bool showSeconds = false,
  12. Key? key,
})

Implementation

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