ChartListCard constructor

const ChartListCard({
  1. Key? key,
  2. required String title,
  3. required String scoreText,
  4. required String dateText,
  5. required List<String> labels,
  6. required List<double> data,
  7. VoidCallback? onTap,
  8. SpiderChartThemeData theme = const SpiderChartThemeData(),
  9. Color backgroundColor = Colors.white,
  10. bool showTitle = true,
  11. bool showScore = true,
  12. bool showDate = true,
  13. bool showChart = true,
  14. bool showArrow = true,
  15. 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,
});