DonutChart constructor

const DonutChart({
  1. Key? key,
  2. required List<DonutChartElement> data,
  3. bool showIndicators = true,
  4. bool vertical = true,
  5. double strokePercent = 0.1,
  6. double gap = 0.05,
  7. double borderRadius = 0.2,
  8. bool isInteger = true,
})

Implementation

const DonutChart({
  super.key,
  required this.data,
  this.showIndicators = true,
  this.vertical = true,
  this.strokePercent = 0.1,
  this.gap = 0.05,
  this.borderRadius = 0.2,
  this.isInteger = true,
});