MonthWidget<T> constructor

const MonthWidget<T>({
  1. Key? key,
  2. EdgeInsets padding = EdgeInsets.zero,
  3. Color color = Colors.transparent,
  4. double? width,
  5. BuildMark<T>? buildMark,
  6. OnDaySelected<T>? onDaySelected,
  7. MonthController<T>? controller,
  8. BuildWeekHead? buildWeekHead,
  9. bool showWeekHead = true,
  10. bool showBackground = true,
  11. BuildWithMonth? buildMonthBackground,
  12. BuildWithDay<T>? buildDayItem,
  13. OnContinuousSelectListen? onContinuousSelectListen,
  14. ValueChanged<List<DateDay>>? onMultipleSelectListen,
  15. bool showMonthHead = true,
  16. BuildWithMonth? buildMonthHead,
  17. double? height,
  18. Color weekHeadColor = Colors.transparent,
  19. Color monthHeadColor = Colors.transparent,
  20. Color weekColor = const Color(0xa6000000),
  21. Color weekendColor = const Color(0xffFF4081),
  22. CalendarLocaleType localeType = CalendarLocaleType.zh,
})

Implementation

const MonthWidget({
  Key? key,
  this.padding = EdgeInsets.zero,
  this.color = Colors.transparent,
  this.width,
  this.buildMark,
  this.onDaySelected,
  this.controller,
  this.buildWeekHead,
  this.showWeekHead = true,
  this.showBackground = true,
  this.buildMonthBackground,
  this.buildDayItem,
  this.onContinuousSelectListen,
  this.onMultipleSelectListen,
  this.showMonthHead = true,
  this.buildMonthHead,
  this.height,
  this.weekHeadColor = Colors.transparent,
  this.monthHeadColor = Colors.transparent,
  this.weekColor = const Color(0xa6000000),
  this.weekendColor = const Color(0xffFF4081),
  this.localeType = CalendarLocaleType.zh,
}) : super(key: key);