DonutChartPainter constructor

DonutChartPainter({
  1. required List<DonutChartElement> data,
  2. double strokePercent = 0.2,
  3. double gap = 0.08,
  4. double borderRadius = 0.2,
  5. bool isInteger = true,
})

Implementation

DonutChartPainter({
  required this.data,
  this.strokePercent = 0.2,
  this.gap = 0.08,
  this.borderRadius = 0.2,
  this.isInteger = true,
});