WeeklyView constructor

const WeeklyView({
  1. Key? key,
  2. required DateTime selectedMonth,
  3. required void onUserPicked(
    1. List<DateTime>
    ),
  4. List<MarkedDaysModel>? markedDaysList,
  5. TextStyle? weekNameHeaderStyle,
  6. BoxDecoration? userPickedDecoration,
  7. Widget? userPickedChild,
  8. EdgeInsets? cellPadding,
  9. BoxDecoration? decoration,
  10. Widget? defaultChild,
  11. bool isRangeSelection = false,
  12. required Day startDay,
})

Constructs a WeeklyView widget.

Implementation

const WeeklyView({
  super.key,
  required this.selectedMonth,
  required this.onUserPicked,
  this.markedDaysList,
  this.weekNameHeaderStyle,
  this.userPickedDecoration,
  this.userPickedChild,
  this.cellPadding,
  this.decoration,
  this.defaultChild,
  this.isRangeSelection = false,
  required this.startDay,
});