CLDatePicker.range constructor

const CLDatePicker.range({
  1. Key? key,
  2. DateTime? rangeStart,
  3. DateTime? rangeEnd,
  4. void onRangeChanged(
    1. DateTime? start,
    2. DateTime? end
    )?,
  5. String? placeholder,
  6. DateTime? firstDate,
  7. DateTime? lastDate,
  8. bool selectableDayPredicate(
    1. DateTime
    )?,
  9. double? width,
  10. bool closeOnSelect = false,
})

Selezione di un intervallo.

Implementation

const CLDatePicker.range({
  super.key,
  this.rangeStart,
  this.rangeEnd,
  this.onRangeChanged,
  this.placeholder,
  this.firstDate,
  this.lastDate,
  this.selectableDayPredicate,
  this.width,
  this.closeOnSelect = false,
})  : isRange = true,
      selected = null,
      onChanged = null;