HeatMap class

Inheritance

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

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited