FocusDate class

Represents a date with an associated color to highlight or focus it in the calendar.

Constructors

FocusDate({required DateTime date, required Color backgroundColor, required Color foregroundColor})
Creates a FocusDate with the given date, backgroundColor, and foregroundColor.
const

Properties

backgroundColor Color
The background color used to highlight the date.
final
date DateTime
The date to be focused or highlighted.
final
foregroundColor Color
The foreground (text) color for the date.
final
hashCode int
The hash code for this object.
no setterinherited
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