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})

Properties

background Color
final
endDate DateTime
final
hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
final
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime
final
textColor Color
final
title String
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