ActivityHeatmap constructor

const ActivityHeatmap({
  1. Key? key,
  2. required DateTime startDate,
  3. required DateTime endDate,
  4. required Map<DateTime, int> data,
  5. List<Color>? colorStops,
  6. String? title,
  7. double cellSize = 14,
  8. double cellSpacing = 2,
  9. bool showMonthLabels = true,
  10. bool showWeekdayLabels = true,
  11. ValueChanged<DateTime>? onDayTap,
})

Implementation

const ActivityHeatmap({
  super.key,
  required this.startDate,
  required this.endDate,
  required this.data,
  this.colorStops,
  this.title,
  this.cellSize = 14,
  this.cellSpacing = 2,
  this.showMonthLabels = true,
  this.showWeekdayLabels = true,
  this.onDayTap,
});