CalendarDataSourceAction enum

Action performed in data source

Constants

add → const CalendarDataSourceAction
  • CalendarDataSourceAction.add, add action to be performed, the appointment will be added to the collection.

Note: This is applicable only for appointment collection add.

const CalendarDataSourceAction(0)
addResource → const CalendarDataSourceAction
  • CalendarDataSourceAction.addResource, add action to be performed and the resource will be added to the SfCalendar.

Note: This is applicable only when adding the resource to the resource collection.

const CalendarDataSourceAction(3)
remove → const CalendarDataSourceAction
  • CalendarDataSourceAction.remove, remove action to be performed, the appointment will be removed from the collection.

Note: This is applicable only for appointment collection remove.

const CalendarDataSourceAction(1)
removeResource → const CalendarDataSourceAction
  • CalendarDataSourceAction.removeResource, remove action to be performed and the resource will be removed from the SfCalendar.

Note: This is applicable only when removing the resource from the resource collection .

const CalendarDataSourceAction(4)
reset → const CalendarDataSourceAction
  • CalendarDataSourceAction.reset, reset action to be performed, the appointment collection will be resets.

Note: This is applicable only for appointment collection reset.

const CalendarDataSourceAction(2)
resetResource → const CalendarDataSourceAction
  • CalendarDataSourceAction.resetResource, reset action to be performed and the resource collection will be reset.

Note: This is applicable only when the resource collection reset.

const CalendarDataSourceAction(5)
values → const List<CalendarDataSourceAction>

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

const List<CalendarDataSourceAction>

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
Returns a string representation of this object.
override

Operators

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