UCalendarDataSource class
Methods
-
addListener(CalendarDataSourceCallback listener)
→ void
-
Calls the listener every time the collection in the CalendarDataSource
changed
inherited
-
convertAppointmentToObject(Object? customData, Appointment appointment)
→ Object?
-
Converts the Appointment data to the custom business object data.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
inherited
-
dispose()
→ void
-
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener and removeListener will throw after the object is
disposed).
inherited
-
getColor(int index)
→ Color
-
Maps the custom appointments color to the Appointment.
override
-
getEndTime(int index)
→ DateTime
-
Maps the custom appointments end time to the Appointment.
override
-
getEndTimeZone(int index)
→ String?
-
Maps the custom appointments end time zone to the Appointment.
inherited
-
getId(int index)
→ Object?
-
Maps the custom appointments id to the Appointment.
inherited
-
getLocation(int index)
→ String?
-
Maps the custom appointments location to the Appointment.
inherited
-
getNotes(int index)
→ String?
-
Maps the custom appointments notes to the Appointment.
inherited
-
getOccurrenceAppointment(Object? patternAppointment, DateTime date, String calendarTimeZone)
→ Appointment?
-
Returns the occurrence appointment for the
given pattern appointment at the specified date.
inherited
-
getPatternAppointment(Object? occurrenceAppointment, String calendarTimeZone)
→ Object?
-
Returns the Pattern appointment for the provided occurrence appointment.
inherited
-
getRecurrenceExceptionDates(int index)
→ List<DateTime>?
-
Maps the custom appointments recurrenceExceptionDates to the Appointment
inherited
-
getRecurrenceId(int index)
→ Object?
-
Maps the custom appointments recurrence id to the Appointment.
inherited
-
getRecurrenceRule(int index)
→ String?
-
Maps the custom appointments recurrence rule to the Appointment.
override
-
getResourceIds(int index)
→ List<Object>?
-
Maps the custom appointment resource ids to the Appointment resource
ids.
inherited
-
getStartTime(int index)
→ DateTime
-
Maps the custom appointments start time to the Appointment.
override
-
getStartTimeZone(int index)
→ String?
-
Maps the custom appointments start time zone to the Appointment.
inherited
-
getSubject(int index)
→ String
-
Maps the custom appointments subject to the Appointment.
override
-
getVisibleAppointments(DateTime startDate, String calendarTimeZone, [DateTime? endDate])
→ List<Appointment>
-
Returns the appointments in the specified date range.
inherited
-
handleLoadMore(DateTime startDate, DateTime endDate)
→ Future<void>
-
Called when loadMoreAppointments function is called from the
loadMoreWidgetBuilder.
Call the notifyListeners to notify the calendar for data source changes.
inherited
-
isAllDay(int index)
→ bool
-
Maps the custom appointments isAllDay to the Appointment.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(CalendarDataSourceAction type, List data)
→ void
-
Call all the registered listeners.
inherited
-
removeListener(CalendarDataSourceCallback listener)
→ void
-
remove the listener used for notify the data source changes.
inherited
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringShort()
→ String
-
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited