ChartGridCard constructor
const
ChartGridCard({
- Key? key,
- required String title,
- String subtitle = '',
- required List<
String> labels, - required List<
double> data, - VoidCallback? onTap,
- SpiderChartThemeData theme = const SpiderChartThemeData(),
- Color backgroundColor = Colors.white,
- bool showTitle = true,
- bool showSubtitle = true,
- 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,
});