HeatMap constructor
const
HeatMap({
- Key? key,
- required Map<
int, Color> colorsets, - ColorMode colorMode = ColorMode.opacity,
- DateTime? startDate,
- DateTime? endDate,
- Color? textColor,
- double? size = 20,
- double? fontSize,
- dynamic onClick()?,
- EdgeInsets? margin,
- double? borderRadius,
- Map<
DateTime, int> ? datasets, - Color? defaultColor,
- bool? showText = false,
- bool? showColorTip = true,
- bool scrollable = false,
- List<
Widget?> ? colorTipHelper, - int? colorTipCount,
- 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);