SingleValueChart class abstract

Implementers

Constructors

SingleValueChart({required String label, required dynamic value, String unit = '', Color? color, double? fontSize, EdgeInsets? margin, EdgeInsets? padding, VoidCallback? onTap, String? semanticLabel, ChartThemeData? themeData, bool enableTooltip = false, TooltipSettings tooltipSettings = const TooltipSettings()})

Properties

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

Methods

buildChart() Widget
buildTooltip(BuildContext context, Offset globalPosition) Widget
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

Operators

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