DayModel class

A model that represents a day in the calendar. It possesses all the information needed to display the corresponding day tile in the calendar.

Constructors

DayModel({required DateTime date, required bool isSelected, required bool isSelectable, required bool isToday, required bool isStart, required bool isEnd, required bool isInRange})

Properties

date DateTime
The date of the day.
final
hashCode int
The hash code for this object.
no setterinherited
isEnd bool
Whether the day is the end of the selected range or not.
final
isInRange bool
Whether the day is in the selected range or not.
final
isSelectable bool
Whether the day is selectable or not.
final
isSelected bool
Whether the day is selected or not.
final
isStart bool
Whether the day is the start of the selected range or not.
final
isToday bool
Whether the day is today or not.
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.
inherited