PlexPieChart constructor

const PlexPieChart({
  1. Key? key,
  2. String? title,
  3. required List<PlexPieSegment> data,
  4. double height = 300,
  5. bool showLegend = true,
  6. int? explodeIndex,
  7. void onSegmentTap(
    1. String label,
    2. double value
    )?,
})

Implementation

const PlexPieChart({
  super.key,
  this.title,
  required this.data,
  this.height = 300,
  this.showLegend = true,
  this.explodeIndex,
  this.onSegmentTap,
});