MonthPageView<T> constructor

const MonthPageView<T>(
  1. MonthOption<T> option, {
  2. Key? key,
  3. ValueChanged<DateMonth>? onMonthChange,
  4. BuildMark<T>? buildMark,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. Color? color = Colors.white,
  7. double? width,
  8. double? height,
  9. OnDaySelected<T>? onDaySelected,
  10. bool showWeekHead = true,
  11. BuildWeekHead? buildWeekHead,
  12. Axis scrollDirection = Axis.horizontal,
  13. bool pageSnapping = true,
  14. ValueChanged<MonthPageController<T>>? onCreated,
  15. OnContinuousSelectListen? onContinuousSelectListen,
  16. bool showMonthHead = true,
  17. BuildWithMonth? buildMonthHead,
  18. Color? weekHeadColor = Colors.white,
  19. Color? monthHeadColor = Colors.white,
  20. CalendarLocaleType? localeType = CalendarLocaleType.zh,
  21. ValueChanged<List<DateDay>>? onMultipleSelectListen,
  22. VoidCallback? onClear,
})

Implementation

const MonthPageView(
  this.option, {
  Key? key,
  this.onMonthChange,
  this.buildMark,
  this.padding = EdgeInsets.zero,
  this.color = Colors.white,
  this.width,
  this.height,
  this.onDaySelected,
  this.showWeekHead = true,
  this.buildWeekHead,
  this.scrollDirection = Axis.horizontal,
  this.pageSnapping = true,
  this.onCreated,
  this.onContinuousSelectListen,
  this.showMonthHead = true,
  this.buildMonthHead,
  this.weekHeadColor = Colors.white,
  this.monthHeadColor = Colors.white,
  this.localeType = CalendarLocaleType.zh,
  this.onMultipleSelectListen,
  this.onClear,
}) : super(key: key);