ChartGridCard constructor

const ChartGridCard({
  1. Key? key,
  2. required String title,
  3. String subtitle = '',
  4. required List<String> labels,
  5. required List<double> data,
  6. VoidCallback? onTap,
  7. SpiderChartThemeData theme = const SpiderChartThemeData(),
  8. Color backgroundColor = Colors.white,
  9. bool showTitle = true,
  10. bool showSubtitle = true,
  11. bool showChartLabels = false,
})

Implementation

const ChartGridCard({
  super.key,
  required this.title,
  this.subtitle = '',
  required this.labels,
  required this.data,
  this.onTap,
  this.theme = const SpiderChartThemeData(),
  this.backgroundColor = Colors.white,
  this.showTitle = true,
  this.showSubtitle = true,
  this.showChartLabels = false,
});