ChartListCard constructor
const
ChartListCard({
- Key? key,
- required String title,
- required String scoreText,
- required String dateText,
- required List<
String> labels, - required List<
double> data, - VoidCallback? onTap,
- SpiderChartThemeData theme = const SpiderChartThemeData(),
- Color backgroundColor = Colors.white,
- bool showTitle = true,
- bool showScore = true,
- bool showDate = true,
- bool showChart = true,
- bool showArrow = true,
- bool showChartLabels = false,
Implementation
const ChartListCard({
super.key,
required this.title,
required this.scoreText,
required this.dateText,
required this.labels,
required this.data,
this.onTap,
this.theme = const SpiderChartThemeData(),
this.backgroundColor = Colors.white,
this.showTitle = true,
this.showScore = true,
this.showDate = true,
this.showChart = true,
this.showArrow = true,
this.showChartLabels = false,
});