RadarChartWidget constructor

const RadarChartWidget({
  1. Key? key,
  2. required List<RadarDataSet> dataSets,
  3. double maxValue = 100.0,
  4. int gridLevels = 5,
  5. bool showGrid = true,
  6. bool showAxis = true,
  7. bool showLabel = true,
  8. String? title,
  9. String? subtitle,
  10. Widget? header,
  11. Widget? footer,
  12. ChartPointCallback? onPointTap,
  13. bool isLoading = false,
  14. bool isError = false,
  15. double? height,
  16. EdgeInsets? padding,
  17. EdgeInsets? margin,
  18. 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');