appointmentType property

AppointmentType appointmentType

Specifies the appointment type, which is used to distinguish appointments based on their functionality.

This is read-only.

Defines the appointment type for the Appointment.

Also refer: AppointmentType, to know more about the available appointment types in calendar.

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       dataSource: dataSource,
              onTap: (CalendarTapDetails details){
                for(int i=0; i<details.appointments.length; i++){
                  AppointmentType appointmentTpe =


AppointmentType get appointmentType => _appointmentType;