CalendarView enum

Available calendar view modes.

Determines how the calendar is displayed to the user.

Example:

final controller = CalendarController(
  initialView: CalendarView.month,
);
Inheritance
Available extensions

Values

month → const CalendarView

Monthly grid view showing all days in a month.

week → const CalendarView

Weekly view showing 7 days with hourly time slots.

day → const CalendarView

Single day view with detailed hourly breakdown.

year → const CalendarView

Yearly overview showing all 12 months.

agenda → const CalendarView

List-based agenda view showing upcoming events chronologically.

timeline → const CalendarView

Timeline view showing events in a horizontal timeline.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<CalendarView>
A constant List of the values in this enum, in order of their declaration.