SelectWeekDays constructor

SelectWeekDays({
  1. required Function onSelect,
  2. Color? backgroundColor,
  3. FontWeight? fontWeight,
  4. double? fontSize,
  5. Color? daysFillColor,
  6. Color? daysBorderColor,
  7. Color? selectedDayTextColor,
  8. Color? unSelectedDayTextColor,
  9. bool border = true,
  10. BoxDecoration? boxDecoration,
  11. double padding = 8.0,
  12. double? width,
  13. required List<DayInWeek> days,
  14. Key? key,
})

SelectWeekDays takes a list of days of type DayInWeek. onSelect property will return list of days that are selected.

Implementation

SelectWeekDays({
  required this.onSelect,
  this.backgroundColor,
  this.fontWeight,
  this.fontSize,
  this.daysFillColor,
  this.daysBorderColor,
  this.selectedDayTextColor,
  this.unSelectedDayTextColor,
  this.border = true,
  this.boxDecoration,
  this.padding = 8.0,
  this.width,
  required this.days,
  super.key,
});