MonthView constructor
const
MonthView({
- required BuildContext context,
- required int year,
- required int month,
- required double padding,
- required Color currentDateColor,
- List<
DateTime> ? highlightedDates, - Color? highlightedDateColor,
- List<
String> ? monthNames, - Function? onTap,
- TextStyle? titleStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),
Implementation
const MonthView({
required this.context,
required this.year,
required this.month,
required this.padding,
required this.currentDateColor,
this.highlightedDates,
this.highlightedDateColor,
this.monthNames,
this.onTap,
this.titleStyle =
const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),
});