SparklineChartWidget constructor
const
SparklineChartWidget({
- Key? key,
- required ChartDataSet dataSet,
- ChartTheme? theme,
- double lineWidth = 2.0,
- bool showArea = true,
- bool showLabel = false,
- Color? positiveColor,
- Color? negativeColor,
- String? title,
- String? subtitle,
- bool useGlassmorphism = false,
- bool useNeumorphism = false,
- bool isLoading = false,
- bool isError = false,
- String? errorMessage,
- ChartPointCallback? onPointTap,
Implementation
const SparklineChartWidget({
super.key,
required this.dataSet,
this.theme,
this.lineWidth = 2.0,
this.showArea = true,
this.showLabel = false,
this.positiveColor,
this.negativeColor,
this.title,
this.subtitle,
this.useGlassmorphism = false,
this.useNeumorphism = false,
this.isLoading = false,
this.isError = false,
this.errorMessage,
this.onPointTap,
});