NiceHeatMap constructor

const NiceHeatMap({
  1. Key? key,
  2. required List<NiceHeatMapCell> data,
  3. int rows = 7,
  4. int cols = 12,
  5. List<String>? rowLabels,
  6. List<String>? colLabels,
  7. double? width,
  8. double height = 200,
  9. String? title,
  10. Color? lowColor,
  11. Color? highColor,
  12. double cellRadius = 4,
  13. double cellSpacing = 2,
  14. void onCellTap(
    1. int row,
    2. int col,
    3. double value
    )?,
})

Implementation

const NiceHeatMap({
  super.key,
  required this.data,
  this.rows = 7,
  this.cols = 12,
  this.rowLabels,
  this.colLabels,
  this.width,
  this.height = 200,
  this.title,
  this.lowColor,
  this.highColor,
  this.cellRadius = 4,
  this.cellSpacing = 2,
  this.onCellTap,
});