CalendarTouchDetails constructor Null safety

const CalendarTouchDetails(
  1. List? appointments,
  2. DateTime? date,
  3. CalendarElement targetElement,
  4. CalendarResource? resource
)

Creates details for CalendarTapCallback and CalendarLongPressCallback.

Implementation

const CalendarTouchDetails(
    this.appointments, this.date, this.targetElement, this.resource);