NicePieChart constructor

const NicePieChart({
  1. Key? key,
  2. required List<NicePieSlice> data,
  3. double width = 300,
  4. double height = 300,
  5. double innerRadius = 0,
  6. String? title,
  7. bool showLegend = true,
  8. bool showLabels = true,
})

Implementation

const NicePieChart({
  super.key,
  required this.data,
  this.width = 300,
  this.height = 300,
  this.innerRadius = 0,
  this.title,
  this.showLegend = true,
  this.showLabels = true,
});