YearView constructor

const YearView({
  1. Key? key,
  2. required int year,
  3. List<CalendarEvent> events = const [],
  4. ValueChanged<DateTime>? onMonthTap,
  5. ValueChanged<DateTime>? onDateTap,
  6. int firstDayOfWeek = 1,
  7. bool landscape = false,
})

Implementation

const YearView({
  super.key,
  required this.year,
  this.events = const [],
  this.onMonthTap,
  this.onDateTap,
  this.firstDayOfWeek = 1,
  this.landscape = false,
});