RadialChartWidget constructor

const RadialChartWidget({
  1. Key? key,
  2. required List<ChartDataSet> dataSets,
  3. double lineWidth = 3.0,
  4. bool showPoints = true,
  5. bool showGrid = true,
  6. bool showLabel = true,
  7. String? title,
  8. String? subtitle,
  9. Widget? header,
  10. Widget? footer,
  11. bool isLoading = false,
  12. bool isError = false,
  13. ChartPointCallback? onPointTap,
  14. ChartPointHoverCallback? onPointHover,
  15. double? height,
  16. EdgeInsets? padding,
  17. EdgeInsets? margin,
  18. ChartsConfig? config,
})

Implementation

const RadialChartWidget({
  super.key,
  required this.dataSets,
  this.lineWidth = 3.0,
  this.showPoints = true,
  this.showGrid = true,
  this.showLabel = true,
  this.title,
  this.subtitle,
  this.header,
  this.footer,
  this.isLoading = false,
  this.isError = false,
  this.onPointTap,
  this.onPointHover,
  this.height,
  this.padding,
  this.margin,
  this.config,
});