CalendarGrid constructor

CalendarGrid({
  1. required int year,
  2. required int month,
  3. double dayItemSize = 16.0,
  4. double boderRadiusItem = 2.0,
  5. double marginItem = 4.0,
  6. Color backgroundColorWeekend = Colors.grey,
  7. required Duration animationDuration,
  8. Curve animationCurve = Curves.linear,
  9. required CalendarGridGetColorItem getColorOfDay,
})

Implementation

CalendarGrid({
  required this.year,
  required this.month,
  this.dayItemSize = 16.0,
  this.boderRadiusItem = 2.0,
  this.marginItem = 4.0,
  this.backgroundColorWeekend = Colors.grey,
  required this.animationDuration,
  this.animationCurve = Curves.linear,
  required this.getColorOfDay,
});