ShadCalendarModel class

Represents the data model for a single month in the calendar.

Contains the month date, a list of dates to display, and the first date shown.

Annotations

Constructors

ShadCalendarModel({required DateTime month, required List<DateTime?> dates, required DateTime firstDateShown})
Creates a calendar model for a specific month.
const

Properties

dates List<DateTime?>
The list of dates to display, including nulls for hidden outside days.
final
firstDateShown DateTime
The first date shown in the grid, used for weekday alignment.
final
hashCode int
The hash code for this object.
no setteroverride
month DateTime
The month this model represents.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
override