DatePickerView constructor
const
DatePickerView({
- Key? key,
- required DateTime currentDate,
- required DateTime startDate,
- required DateTime endDate,
- TextStyle? yearMonth,
- double dateSpacing = 10,
- required dynamic onDateClick(
- DateTime selectedDate
- Color? color,
- Color? activeColor,
- TextStyle? day = const TextStyle(fontSize: 20),
- TextStyle? weekday = const TextStyle(),
- Color? activeDay,
- Color? activeWeekday,
- Color? dayColor,
- Color? weekdayColor,
- double dayWeekHeight = 4,
- BoxDecoration decoration = const BoxDecoration(),
Implementation
const DatePickerView({
super.key,
required this.currentDate,
required this.startDate,
required this.endDate,
this.yearMonth,
this.dateSpacing = 10,
required this.onDateClick,
this.color,
this.activeColor,
this.day = const TextStyle(fontSize: 20),
this.weekday = const TextStyle(),
this.activeDay,
this.activeWeekday,
this.dayColor,
this.weekdayColor,
this.dayWeekHeight = 4,
this.decoration = const BoxDecoration(),
});