isAllDay method
Maps the custom appointments isAllDay to the Appointment.
Allows to set the custom appointments corresponding property to the Appointment's isAllDay property.
Note: It is applicable only when the custom appointments set to the appointments.
See also:
- Appointment.isAllDay, which defines whether the event is a day long or not.
- getStartTime, which used to map the custom appointment Appointment.startTime property to the Appointment.
- getEndTime, which used to map the custom appointment Appointment.endTime property to the Appointment.
- getStartTimeZone, which used to map the custom appointment's Appointment.startTimeZone property to the Appointment.
- getEndTimeZone, which used to map the custom appointment's Appointment.endTimeZone property to the Appointment.
- SfCalendar.timeZone, to set the timezone for the calendar.
- The documentation for time zone
@override
DateTime isAllDay(int index) {
return appointments![index].isAllDay;
}
Implementation
bool isAllDay(int index) => false;