ThemedCalendarEntry class

Constructors

ThemedCalendarEntry({required DateTime at, Color? color, IconData? icon, required String title, String? caption, VoidCallback? onTap, TextAlign textAlign = TextAlign.justify})
ThemedCalendarEntry is a class that represents an entry in the calendar. When the ThemedCalendar is in day or week, we'll use the time-part of the at to display the entry. When the ThemedCalendar is in month or year, we'll use the date-part of the at to display the entry.
const

Properties

at DateTime
at is the date and time of the entry.
final
caption String?
caption is the caption of the entry. Only will apply when the ThemedCalendar is in day or week. In month or year, the caption will be ignored.
final
color Color?
color is the color of the entry. Only will apply when the ThemedCalendar is in day or week. In month or year, the color will be ignored.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
icon is the icon of the entry. Only will apply when the ThemedCalendar is in day or week. In month or year, the icon will be ignored.
final
onTap VoidCallback?
onTap is the callback that will be called when the user taps the entry. Only will apply when the ThemedCalendar is in day or week. In month or year, the onTap will be ignored.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign
textAlign is the alignment of the text of the entry.
final
title String
title is the title of the entry. Only will apply when the ThemedCalendar is in day or week. In month or year, the title will be ignored.
final

Methods

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

Operators

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