SingleValueChart constructor
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(),
Implementation
SingleValueChart(
{required this.label,
required this.value,
this.unit = '',
this.color,
this.fontSize,
this.margin,
this.padding,
this.onTap,
this.semanticLabel,
this.themeData,
this.enableTooltip = false,
this.tooltipSettings = const TooltipSettings()});