CalendarDayData class

Data passed to FlipCalendar.dayBuilder for each day cell.

Constructors

CalendarDayData({required DateTime date, required bool isCurrentMonth, required bool isToday, required bool isSelected, required bool isFutureDate, required bool isEnabled, required int row, required int column})
const

Properties

column int
Column index in the grid (0-based).
final
date DateTime
The date this cell represents.
final
hashCode int
The hash code for this object.
no setteroverride
isCurrentMonth bool
Whether this date is in the currently displayed month. False for overflow days from adjacent months.
final
isEnabled bool
Whether this cell is enabled for interaction (within date bounds).
final
isFutureDate bool
Whether this date is in the future (after today).
final
isSelected bool
Whether this date is the currently selected date.
final
isToday bool
Whether this date is today.
final
row int
Row index in the grid (0-based).
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.
override

Operators

operator ==(Object other) bool
The equality operator.
override