Heatmap constructor
const
Heatmap({
- Key? key,
- required List<
HeatmapDataPoint> data, - required int rows,
- required int columns,
- required HeatmapColorScale colorScale,
- List<
String> ? rowLabels, - List<
String> ? columnLabels, - double cellPadding = 1,
- double cellRadius = 0,
- bool showValues = false,
- TextStyle? valueStyle,
- Color? borderColor,
- double borderWidth = 0,
- void onCellTap(
- HeatmapDataPoint point
- void onCellHover(
- 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,
});