CalendarElement enum Null safety

The available calendar elements for the CalendarTapDetails in SfCalendar

Constants

agenda → const CalendarElement
  • CalendarElement.agenda, Indicates that the agenda view tapped.
const CalendarElement(4)
allDayPanel → const CalendarElement
  • CalendarElement.allDayPanel, Indicates that the region in the all-day area. It is added besides the view header in day view, and below view header in the week and work week views. For week and work week views this all-day panel will be added if the view must contain at least one appointment.

Note: The all day panel doesn't available in the CalendarView.month, CalendarView.timelineDay, CalendarView.timelineWeek and CalendarView.timelineWorkWeekView.

const CalendarElement(5)
appointment → const CalendarElement
  • CalendarElement.header, Indicates that the Appointment tapped.
const CalendarElement(3)
calendarCell → const CalendarElement
  • CalendarElement.header, Indicates that the calendar cell tapped.
const CalendarElement(2)
  • CalendarElement.header, Indicates that the calendar header view tapped.
const CalendarElement(0)
moreAppointmentRegion → const CalendarElement
  • CalendarElement.moreAppointmentIndicator, Used to Indicate that the three dots are in the more appointment region of the month cell. More appointment indicators are applied to the month cell when its appointment display mode as appointment and the month cell appointment count is greater than the maximum appointment display count. Note: This element applies to the month calendar view with the appointment display mode as the appointment and the platform on the web page.
const CalendarElement(6)
resourceHeader → const CalendarElement
  • CalendarElement.resourceHeader, Indicates that the region in the resource panel, the view is on left side of timeline views, to display the assigned resources in view.

_Note: _This element applies to the timeline views with resource assigned to the calendar data source.

const CalendarElement(7)
values → const List<CalendarElement>

A constant List of the values in this enum, in order of their declaration.

const List<CalendarElement>
viewHeader → const CalendarElement
  • CalendarElement.viewHeader, indicates that the calendar view header view tapped.
const CalendarElement(1)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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