VooCalendarWeekView constructor

const VooCalendarWeekView({
  1. Key? key,
  2. required VooCalendarController controller,
  3. required VooCalendarTheme theme,
  4. required int firstDayOfWeek,
  5. required void onDateSelected(
    1. DateTime date
    ),
  6. void onEventTap(
    1. VooCalendarEvent event
    )?,
  7. Widget eventBuilder(
    1. BuildContext context,
    2. VooCalendarEvent event
    )?,
  8. required bool compact,
  9. VooWeekViewConfig config = const VooWeekViewConfig(),
})

Implementation

const VooCalendarWeekView({
  super.key,
  required this.controller,
  required this.theme,
  required this.firstDayOfWeek,
  required this.onDateSelected,
  this.onEventTap,
  this.eventBuilder,
  required this.compact,
  this.config = const VooWeekViewConfig(),
});