DateSelectorDay class

A model representing a day in the HorizontalDateSelector.

Constructors

DateSelectorDay({required DateTime date, required String labelTop, required String dayNumber, required String labelBottom})
Creates a date selector day model.
const
DateSelectorDay.fromDateTime(DateTime date)
Factory constructor to create a day from DateTime.
factory

Properties

date → DateTime
The underlying date object.
final
dayNumber → String
The day number (e.g., "23").
final
hashCode → int
The hash code for this object.
no setterinherited
labelBottom → String
The bottom label (e.g., weekday "Mon").
final
labelTop → String
The top label (e.g., month "Oct").
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