DatePickerWidget constructor

const DatePickerWidget({
  1. Key? key,
  2. CalendarDatePicker2Type? calendarType,
  3. dynamic onSelectionChanged(
    1. List
    )?,
  4. PickerDateRange? initialValue,
  5. double? height,
  6. double? width,
  7. TextStyle? weekLabelStyle,
  8. List<String>? weekLabel,
  9. DateTime? firstDate,
  10. DateTime? lastDate,
  11. DateTime? startDate,
  12. Color? selectedHighlightColor,
  13. DatePickerMode? viewMode,
})

Implementation

const DatePickerWidget({
  Key? key,
  this.calendarType,
  this.onSelectionChanged,
  this.initialValue,
  this.height,
  this.width,
  this.weekLabelStyle,
  this.weekLabel,
  this.firstDate,
  this.lastDate,
  this.startDate,
  this.selectedHighlightColor,
  this.viewMode,
}) : super(key: key);