CalendarEventData<T> class

Stores all the events on date

Annotations

Constructors

CalendarEventData({required String title, String description = "", T? event, Color color = Colors.blue, DateTime? startTime, DateTime? endTime, DateTime? endDate, required DateTime date})
Stores all the events on date
const

Properties

color Color
Defines color of event. This color will be used in default widgets provided by plugin.
final
date DateTime
Specifies date on which all these events are.
final
description String
Description of the event.
final
endDate DateTime
no setter
endTime DateTime?
Defines the end time of the event. endTime and startTime defines time on same day. This is required when you are using CalendarEventData for DayView
final
event → T?
Event on date.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
Defines the start time of the event. endTime and startTime will defines time on same day. This is required when you are using CalendarEventData for DayView
final
title String
Title of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override