HeatMapCalendar class

Inheritance

Constructors

HeatMapCalendar({Key? key, required Map<int, Color> colorsets, ColorMode colorMode = ColorMode.opacity, Color? defaultColor, Map<DateTime, int>? datasets, DateTime? initDate, double? size = 42, double? fontSize, double? monthFontSize, Color? textColor, double? weekFontSize, Color? weekTextColor, double? borderRadius, bool? flexible = false, EdgeInsets? margin, dynamic onClick(DateTime)?, dynamic onMonthChange(DateTime)?, bool? showColorTip = true, 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
flexible bool?
Make block size flexible if value is true.
final
fontSize double?
The double value of every block's fontSize.
final
hashCode int
The hash code for this object.
no setterinherited
initDate DateTime?
The date values of initial year and month.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsets?
The margin value for every block.
final
monthFontSize double?
The double value of month label's fontSize.
final
onClick → (dynamic Function(DateTime)?)
Function that will be called when a block is clicked.
final
onMonthChange → (dynamic Function(DateTime)?)
Function that will be called when month is changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showColorTip bool?
Show color tip which represents the color range at the below.
final
size double?
The double value of every block's size.
final
textColor Color?
The text color value of every blocks.
final
weekFontSize double?
The double value of week label's fontSize.
final
weekTextColor Color?
The text color value of week labels.
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}) 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