MonthView constructor

const MonthView({
  1. required BuildContext context,
  2. required int year,
  3. required int month,
  4. required double padding,
  5. required Color currentDateColor,
  6. List<DateTime>? highlightedDates,
  7. Color? highlightedDateColor,
  8. List<String>? monthNames,
  9. Function? onTap,
  10. 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),
});