PieChart constructor

const PieChart({
  1. Key? key,
  2. required List<PieSegment> segments,
  3. String? centerLabel,
  4. String? centerSubLabel,
  5. double size = 160,
  6. bool showLegend = true,
  7. double thickness = 28,
})

Implementation

const PieChart({
  super.key,
  required this.segments,
  this.centerLabel,
  this.centerSubLabel,
  this.size = 160,
  this.showLegend = true,
  this.thickness = 28,
});