HeatmapGrid constructor

const HeatmapGrid({
  1. Key? key,
  2. required List<List<double>> values,
  3. required double minValue,
  4. required double maxValue,
  5. Color startColor = const Color(0xFF2166AC),
  6. Color endColor = const Color(0xFFB2182B),
  7. double cellRadius = 2,
  8. double cellPadding = 1,
  9. bool showValues = false,
  10. TextStyle? valueStyle,
  11. void onCellTap(
    1. int row,
    2. int column,
    3. double value
    )?,
})

Implementation

const HeatmapGrid({
  super.key,
  required this.values,
  required this.minValue,
  required this.maxValue,
  this.startColor = const Color(0xFF2166AC),
  this.endColor = const Color(0xFFB2182B),
  this.cellRadius = 2,
  this.cellPadding = 1,
  this.showValues = false,
  this.valueStyle,
  this.onCellTap,
});