HeatMap class
Constructors
-
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(DateTime)?, 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})
-
const
Properties
-
borderRadius
→ double?
-
The double value of every block's borderRadius.
final
-
colorMode
→ ColorMode
-
ColorMode changes the color mode of blocks.
final
-
colorsets
→ Map<int, Color>
-
The colorsets which give the color value for its thresholds key value.
final
-
colorTipCount
→ int?
-
The integer value which represents the number of
HeatMapColorTip
's tip container.
final
-
colorTipHelper
→ List<Widget?>?
-
Widgets which shown at left and right side of colorTip.
final
-
colorTipSize
→ double?
-
The double value of
HeatMapColorTip
's tip container's size.
final
-
datasets
→ Map<DateTime, int>?
-
The datasets which fill blocks based on its value.
final
-
defaultColor
→ Color?
-
The color value of every block's default color.
final
-
endDate
→ DateTime?
-
The Date value of end day of heatmap.
final
-
fontSize
→ double?
-
The double value of every block's fontSize.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
margin
→ EdgeInsets?
-
The margin value for every block.
final
-
onClick
→ dynamic Function(DateTime)?
-
Function that will be called when a block is clicked.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollable
→ bool
-
Makes heatmap scrollable if the value is true.
final
-
showColorTip
→ bool?
-
Show color tip which represents the color range at the below.
final
-
showText
→ bool?
-
Show day text in every blocks if the value is true.
final
-
size
→ double?
-
The double value of every block's size.
final
-
startDate
→ DateTime?
-
The Date value of start day of heatmap.
final
-
textColor
→ Color?
-
The text color value of every blocks.
final