CLDatePicker constructor

const CLDatePicker({
  1. Key? key,
  2. DateTime? selected,
  3. ValueChanged<DateTime?>? onChanged,
  4. String? placeholder,
  5. DateTime? firstDate,
  6. DateTime? lastDate,
  7. bool selectableDayPredicate(
    1. DateTime
    )?,
  8. double? width,
  9. bool closeOnSelect = true,
})

Selezione singola.

Implementation

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