SelectWeekDays constructor
SelectWeekDays({
- required Function onSelect,
- Color? backgroundColor,
- FontWeight? fontWeight,
- double? fontSize,
- Color? daysFillColor,
- Color? daysBorderColor,
- Color? selectedDayTextColor,
- Color? unSelectedDayTextColor,
- bool border = true,
- BoxDecoration? boxDecoration,
- double padding = 8.0,
- double? width,
- required List<
DayInWeek> days, - 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,
});