resources property Null safety

List<CalendarResource>? resources
read / write

The collection of resource to be displayed in the timeline views of SfCalendar.

Defaults to null.


class AppointmentDataSource extends CalendarDataSourceResource {
   AppointmentDataSource(List<Appointment> appointments,
                                List<CalendarResource> resources) {
   resources = resources;
   appointments = appointments;
 }
}

Implementation

List<CalendarResource>? resources;