CalendarMonthEvent class

Represents a single event displayed on the calendar month grid. This is the public facing event model for the library.

Constructors

CalendarMonthEvent({required String id, required DateTime startDate, required DateTime endDate, required String title, required Color background, String? iconUrl, required Color textColor})
CalendarMonthEvent.fromJson(Map<String, dynamic> json)
Factory constructor to create a CalendarMonthEvent from a JSON map. It handles parsing ISO date strings and hex color codes.
factory

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

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