CalendarConfig constructor

const CalendarConfig({
  1. int firstDayOfWeek = DateTime.monday,
  2. List<String> weekAxisLabels = _defaultWeekAxisLabels,
  3. Color weekAxisColor = const Color(0xFF333333),
  4. List<String> monthAxisLabels = _defaultMonthAxisLabels,
  5. Color monthAxisColor = const Color(0xFF333333),
  6. double cellSize = 12,
  7. double cellGap = 3,
  8. Radius cellRadius = const Radius.circular(2),
  9. CellColorGetter cellColorGetter = _defaultColorGetter,
})

Implementation

const CalendarConfig({
  this.firstDayOfWeek = DateTime.monday,
  this.weekAxisLabels = _defaultWeekAxisLabels,
  this.weekAxisColor = const Color(0xFF333333),
  this.monthAxisLabels = _defaultMonthAxisLabels,
  this.monthAxisColor = const Color(0xFF333333),
  this.cellSize = 12,
  this.cellGap = 3,
  this.cellRadius = const Radius.circular(2),
  this.cellColorGetter = _defaultColorGetter,
});