cellAt method

HeatmapDensityCell cellAt({
  1. required int xIndex,
  2. required int yIndex,
})

Implementation

HeatmapDensityCell cellAt({required int xIndex, required int yIndex}) {
  RangeError.checkValidIndex(xIndex, xAxis.labels, 'xIndex');
  RangeError.checkValidIndex(yIndex, yAxis.labels, 'yIndex');
  return cells[yIndex * xAxis.cellCount + xIndex];
}