PrismDonutChart constructor

const PrismDonutChart({
  1. Key? key,
  2. required List<PrismDonutSlice> slices,
  3. double size = 160,
  4. String? centreLabel,
  5. String? centreValue,
})

Creates a donut chart.

Implementation

const PrismDonutChart({
  super.key,
  required this.slices,
  this.size = 160,
  this.centreLabel,
  this.centreValue,
});