RadarChartWidget constructor
const
RadarChartWidget({
- Key? key,
- required List<
RadarDataSet> dataSets, - double maxValue = 100.0,
- int gridLevels = 5,
- bool showGrid = true,
- bool showAxis = true,
- bool showLabel = true,
- String? title,
- String? subtitle,
- Widget? header,
- ChartPointCallback? onPointTap,
- bool isLoading = false,
- bool isError = false,
- double? height,
- EdgeInsets? padding,
- EdgeInsets? margin,
- ChartsConfig? config,
Implementation
const RadarChartWidget({
super.key,
required this.dataSets,
this.maxValue = 100.0,
this.gridLevels = 5,
this.showGrid = true,
this.showAxis = true,
this.showLabel = true,
this.title,
this.subtitle,
this.header,
this.footer,
this.onPointTap,
this.isLoading = false,
this.isError = false,
this.height,
this.padding,
this.margin,
this.config,
}) : assert(maxValue > 0, 'Max value must be positive'),
assert(gridLevels > 0, 'Grid levels must be positive');