CalendarConfig constructor
const
CalendarConfig({
- int firstDayOfWeek = DateTime.monday,
- List<
String> weekAxisLabels = _defaultWeekAxisLabels, - Color weekAxisColor = const Color(0xFF333333),
- List<
String> monthAxisLabels = _defaultMonthAxisLabels, - Color monthAxisColor = const Color(0xFF333333),
- double cellSize = 12,
- double cellGap = 3,
- Radius cellRadius = const Radius.circular(2),
- 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,
});