CalendarEvent class

Represents an event in the calendar with its properties.

Constructors

CalendarEvent({required String id, required String title, required DateTime startTime, required DateTime endTime, Color backgroundColor = Colors.blue, Color textColor = Colors.white})
Creates a calendar event with the specified properties.
const

Properties

backgroundColor Color
Color of the background of the event.
final
endTime DateTime
The start time of the event.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
The unique identifier for the event.
final
textColor Color
Color of the text in the event.
final
title String
The title of the event.
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