EventListScreen constructor

const EventListScreen({
  1. required DateTime date,
  2. required List<CalendarMonthEvent> events,
  3. String? templateId,
  4. Key? key,
})

Creates a new instance of EventListScreen.

Implementation

const EventListScreen({
  required this.date,
  required this.events,
  this.templateId, // Make it nullable or handle if it's always required
  super.key,
});