Heatmap constructor

const Heatmap({
  1. Key? key,
  2. required List<HeatmapDataPoint> data,
  3. required int rows,
  4. required int columns,
  5. required HeatmapColorScale colorScale,
  6. List<String>? rowLabels,
  7. List<String>? columnLabels,
  8. double cellPadding = 1,
  9. double cellRadius = 0,
  10. bool showValues = false,
  11. TextStyle? valueStyle,
  12. Color? borderColor,
  13. double borderWidth = 0,
  14. void onCellTap(
    1. HeatmapDataPoint point
    )?,
  15. void onCellHover(
    1. HeatmapDataPoint? point
    )?,
})

Implementation

const Heatmap({
  super.key,
  required this.data,
  required this.rows,
  required this.columns,
  required this.colorScale,
  this.rowLabels,
  this.columnLabels,
  this.cellPadding = 1,
  this.cellRadius = 0,
  this.showValues = false,
  this.valueStyle,
  this.borderColor,
  this.borderWidth = 0,
  this.onCellTap,
  this.onCellHover,
});