CalenderSeries constructor
CalenderSeries(
- int year,
- int month,
- num shapeSize, {
- CalendarShape? shape,
- Color? middleShapeColor,
- Color? backgroundColor,
- bool needDrawMarking = false,
- CalendarShape? markingShape,
- num markingSize = 2,
- num markingTopMargin = 2,
- Color? markingColor,
- num? markingRadius,
- num? headerHeight,
- num dividerHeight = 0,
- Color? dividerColor,
- Color? lineColor,
- FontStyle? weekFontStyle,
- FontStyle? selectFontStyle,
- FontStyle? selectMiddleFontStyle,
- FontStyle fontStyle = const FontStyle(14, Colors.black54),
- FontStyle? forbidFontStyle,
- FontStyle? subFontStyle,
- bool sunFirst = false,
- bool autoLink = true,
- bool resetWhenAutoLinkClick = false,
- bool drawMiddleShape = false,
- bool drawLastMonth = true,
- bool drawNextMonth = true,
- List<
DateTime> ? defaultDate, - int? maxChooseCount,
- DateRange? chooseRange,
- bool onChooseFilter()?,
- String dayFormat()?,
- String weekFormat(
- int weekIndex
- FontStyle weekStyleGenerator(
- int weekIndex
- CalendarItemStyle styleGenerator()?,
- void onChange()?,
- void onClickForbidDay(
- DateTime forbidDay
- AnimatorProps? animation,
- bool clip = true,
- bool touch = true,
- 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();