HeatmapCell constructor

const HeatmapCell({
  1. Key? key,
  2. required Color color,
  3. double? value,
  4. double size = 40,
  5. double radius = 0,
  6. Color? borderColor,
  7. double borderWidth = 0,
  8. bool showValue = false,
  9. TextStyle? valueStyle,
  10. String valueFormat(
    1. double value
    )?,
  11. VoidCallback? onTap,
  12. void onHover(
    1. bool isHovered
    )?,
  13. String? tooltip,
})

Implementation

const HeatmapCell({
  super.key,
  required this.color,
  this.value,
  this.size = 40,
  this.radius = 0,
  this.borderColor,
  this.borderWidth = 0,
  this.showValue = false,
  this.valueStyle,
  this.valueFormat,
  this.onTap,
  this.onHover,
  this.tooltip,
});