TimelineView constructor

const TimelineView({
  1. Key? key,
  2. required List<CalendarEvent> events,
  3. required DateTime startDate,
  4. required DateTime endDate,
  5. List<String>? trackLabels,
  6. double dayWidth = 40,
  7. double trackHeight = 56,
  8. ValueChanged<CalendarEvent>? onEventTap,
  9. ValueChanged<DateTime>? onDateTap,
})

Implementation

const TimelineView({
  super.key,
  required this.events,
  required this.startDate,
  required this.endDate,
  this.trackLabels,
  this.dayWidth = 40,
  this.trackHeight = 56,
  this.onEventTap,
  this.onDateTap,
});