HeatMap constructor

const HeatMap({
  1. Key? key,
  2. required Map<int, Color> colorsets,
  3. ColorMode colorMode = ColorMode.opacity,
  4. DateTime? startDate,
  5. DateTime? endDate,
  6. Color? textColor,
  7. double? size = 20,
  8. double? fontSize,
  9. dynamic onClick(
    1. DateTime
    )?,
  10. EdgeInsets? margin,
  11. double? borderRadius,
  12. Map<DateTime, int>? datasets,
  13. Color? defaultColor,
  14. bool? showText = false,
  15. bool? showColorTip = true,
  16. bool scrollable = false,
  17. List<Widget?>? colorTipHelper,
  18. int? colorTipCount,
  19. double? colorTipSize,
})

Implementation

const HeatMap({
  Key? key,
  required this.colorsets,
  this.colorMode = ColorMode.opacity,
  this.startDate,
  this.endDate,
  this.textColor,
  this.size = 20,
  this.fontSize,
  this.onClick,
  this.margin,
  this.borderRadius,
  this.datasets,
  this.defaultColor,
  this.showText = false,
  this.showColorTip = true,
  this.scrollable = false,
  this.colorTipHelper,
  this.colorTipCount,
  this.colorTipSize,
}) : super(key: key);