InternalCalendarEvent class
Internal event model used for rendering logic within the calendar grid. It's a private class to avoid exposing internal details to the library user.
Constructors
- InternalCalendarEvent({required DateTime startDate, required DateTime endDate, required String title, required Color background, String? iconUrl, required Color textColor, required String id})
- Creates a new instance of InternalCalendarEvent.
Properties
- background → Color
-
The background color of the event.
final
- endDate → DateTime
-
The end date of the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconUrl → String?
-
The URL of the icon for the event.
final
- id → String
-
The unique ID of the event.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → DateTime
-
The start date of the event.
final
- textColor → Color
-
The text color of the event.
final
- title → String
-
The title of the event.
final
Methods
-
getDaysSpanned(
DateTime rangeStart, DateTime rangeEnd) → int - Calculates the number of days the event spans within a given date range.
-
isSpan(
) → bool - Checks if the event spans multiple days.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
occursInRange(
DateTime start, DateTime end) → bool - Checks if the event occurs within a given date range.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited