getStartTime method
Maps the custom appointments start time to the Appointment
.
Allows to set the custom appointments corresponding property to the
Appointment
's start time property.
Note: It is applicable only when the custom appointments set to the appointments.
It is mandatory to override this method to set custom appointments collection to the appointments.
See also:
Appointment.startTime
, the date time value in which the appointment will start.- isAllDay, which used to map the custom appointment's
Appointment.isAllDay
property to theAppointment
. - getEndTime, which used to map the custom appointment's
Appointment.endTime
property to theAppointment
. - getStartTimeZone, which used to map the custom appointment's
Appointment.startTimeZone
property to theAppointment
. SfCalendar.timeZone
, to set the timezone for the calendar.- The documentation for time zone
@override
DateTime getStartTime(int index) {
return appointments![index].from;
}
Implementation
@override
DateTime getStartTime(int index) {
return _getMeetingData(index).startTime;
}