NiceHeatMap constructor

const NiceHeatMap({
  1. Key? key,
  2. required List<List<double>> data,
  3. List<String>? rowLabels,
  4. List<String>? columnLabels,
  5. Color lowColor = const Color(0xFFE3F2FD),
  6. Color highColor = const Color(0xFF1565C0),
  7. double cellSize = 40,
  8. double cellSpacing = 2,
  9. bool showValues = true,
  10. void onCellTap(
    1. int row,
    2. int col,
    3. double value
    )?,
  11. String valueFormatter(
    1. double
    )?,
})

Implementation

const NiceHeatMap({
  super.key,
  required this.data,
  this.rowLabels,
  this.columnLabels,
  this.lowColor = const Color(0xFFE3F2FD),
  this.highColor = const Color(0xFF1565C0),
  this.cellSize = 40,
  this.cellSpacing = 2,
  this.showValues = true,
  this.onCellTap,
  this.valueFormatter,
});