SimpleEventCalendarEssential class
A simple implementation of EventCalendarEssential with default styling behavior.
This class provides a basic calendar event that displays the day number with appropriate styling for selected, today, and regular states.
- Inheritance
-
- Object
- EventCalendarEssential
- SimpleEventCalendarEssential
Constructors
- SimpleEventCalendarEssential(CalendarStyle _calendarStyle, DateTime date, bool defaultEvent)
- Creates a simple event with the given calendar style.
Properties
- date → DateTime
-
The date of this event
finalinherited
- defaultEvent ↔ bool
-
Whether this is a default event (no marker) or a custom event (with marker)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildEvent(
bool isSelected, bool isToday) → Widget -
Builds the visual representation of the event for a given day cell.
override
-
buildMarkerEvent(
) → Widget -
Builds a marker widget displayed below the day number.
override
-
isEventSelected(
DateTime selectedDay) → bool -
Determines if this event should be shown as selected.
override
-
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