MarkedDaysModel constructor
MarkedDaysModel({
- required List<
DateTime> selectedDateList, - required BoxDecoration decoration,
- Widget? child,
Creates a MarkedDaysModel with a list of selected dates, a decoration to apply, and an optional child widget.
selectedDateListshould contain full DateTime values.decorationis the visual styling applied to those marked days.childis an optional widget to overlay on those decorated days.
Implementation
MarkedDaysModel({
required this.selectedDateList,
required this.decoration,
this.child,
});