MarkedDaysModel class

A model class representing a set of marked days on a calendar UI.

The MarkedDaysModel is used to define which days should be visually decorated on a calendar, along with optional custom widgets.

Constructors

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.

Properties

child → Widget?
An optional widget to display on top of the decorated day cell.
final
decoration → BoxDecoration
The visual decoration to apply to the marked days.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedDateList → List<DateTime>
A list of DateTime objects representing the exact days that should be marked on the calendar.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited