CalenderSeries constructor

CalenderSeries(
  1. int year,
  2. int month,
  3. num shapeSize, {
  4. CalendarShape? shape,
  5. Color? middleShapeColor,
  6. Color? backgroundColor,
  7. bool needDrawMarking = false,
  8. CalendarShape? markingShape,
  9. num markingSize = 2,
  10. num markingTopMargin = 2,
  11. Color? markingColor,
  12. num? markingRadius,
  13. num? headerHeight,
  14. num dividerHeight = 0,
  15. Color? dividerColor,
  16. Color? lineColor,
  17. FontStyle? weekFontStyle,
  18. FontStyle? selectFontStyle,
  19. FontStyle? selectMiddleFontStyle,
  20. FontStyle fontStyle = const FontStyle(14, Colors.black54),
  21. FontStyle? forbidFontStyle,
  22. FontStyle? subFontStyle,
  23. bool sunFirst = false,
  24. bool autoLink = true,
  25. bool resetWhenAutoLinkClick = false,
  26. bool drawMiddleShape = false,
  27. bool drawLastMonth = true,
  28. bool drawNextMonth = true,
  29. List<DateTime>? defaultDate,
  30. int? maxChooseCount,
  31. DateRange? chooseRange,
  32. bool onChooseFilter(
    1. int year,
    2. int month,
    3. int date
    )?,
  33. String dayFormat(
    1. int year,
    2. int month,
    3. int date
    )?,
  34. String weekFormat(
    1. int weekIndex
    )?,
  35. FontStyle weekStyleGenerator(
    1. int weekIndex
    )?,
  36. CalendarItemStyle styleGenerator(
    1. int year,
    2. int month,
    3. int date,
    4. bool chosen,
    5. bool isToday,
    6. bool isLastMonth,
    7. bool isNextMonth,
    )?,
  37. void onChange(
    1. List<DateTime> values
    )?,
  38. void onClickForbidDay(
    1. DateTime forbidDay
    )?,
  39. AnimatorProps? animation,
  40. bool clip = true,
  41. bool touch = true,
  42. int z = 0,
})

Implementation

CalenderSeries(
  this.year,
  this.month,
  this.shapeSize, {
  this.shape,
  this.middleShapeColor,
  this.backgroundColor,
  this.needDrawMarking = false,
  this.markingShape,
  this.markingSize = 2,
  this.markingTopMargin = 2,
  this.markingColor,
  this.markingRadius,
  this.headerHeight,
  this.dividerHeight = 0,
  this.dividerColor,
  this.lineColor,
  this.weekFontStyle,
  this.selectFontStyle,
  this.selectMiddleFontStyle,
  this.fontStyle = const FontStyle(14, Colors.black54),
  this.forbidFontStyle,
  this.subFontStyle,
  this.sunFirst = false,
  this.autoLink = true,
  this.resetWhenAutoLinkClick = false,
  this.drawMiddleShape = false,
  this.drawLastMonth = true,
  this.drawNextMonth = true,
  this.defaultDate,
  this.maxChooseCount,
  this.chooseRange,
  this.onChooseFilter,
  this.dayFormat,
  this.weekFormat,
  this.weekStyleGenerator,
  this.styleGenerator,
  this.onChange,
  this.onClickForbidDay,
  super.animation,
  super.clip,
  super.touch,
  super.z,
}) : super();