MarkedDaysModel constructor

MarkedDaysModel({
  1. required List<DateTime> selectedDateList,
  2. required BoxDecoration decoration,
  3. Widget? child,
})

Creates a MarkedDaysModel with a list of selected dates, a decoration to apply, and an optional child widget.

  • selectedDateList should contain full DateTime values.
  • decoration is the visual styling applied to those marked days.
  • child is an optional widget to overlay on those decorated days.

Implementation

MarkedDaysModel({
  required this.selectedDateList,
  required this.decoration,
  this.child,
});