QuantitativeComparisonChart class

Inheritance

Constructors

QuantitativeComparisonChart({required String label, required num primaryValue, required num secondaryValue, String primaryLabel = '', String secondaryLabel = '', String unit = '', bool enableToolTip = false, ChartThemeData? themeData, NumberFormat? numberFormat})

Properties

color Color?
finalinherited
enableTooltip bool
finalinherited
fontSize double?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
label String
finalinherited
margin EdgeInsets?
finalinherited
numberFormat → NumberFormat?
final
onTap VoidCallback?
finalinherited
padding EdgeInsets?
finalinherited
primaryLabel String
final
primaryValue num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryLabel String
final
secondaryValue num
final
semanticLabel String?
finalinherited
themeData ChartThemeData?
final
tooltipSettings TooltipSettings
finalinherited
unit String
finalinherited
value → dynamic
finalinherited

Methods

buildChart() Widget
override
buildTooltip(BuildContext context, Offset globalPosition) Widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateData() → void
inherited

Operators

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