DayView constructor

const DayView({
  1. Key? key,
  2. required DateTime date,
  3. CalendarConfig config = const CalendarConfig(),
  4. List<CalendarEvent> events = const [],
  5. ValueChanged<DateTime>? onTimeTap,
  6. ValueChanged<CalendarEvent>? onEventTap,
})

Implementation

const DayView({
  super.key,
  required this.date,
  this.config = const CalendarConfig(),
  this.events = const [],
  this.onTimeTap,
  this.onEventTap,
});