DonutChartSegment constructor

DonutChartSegment({
  1. required String id,
  2. required String label,
  3. required double value,
  4. required Color color,
  5. String? formattedValue,
})

Implementation

DonutChartSegment({
  required this.id,
  required this.label,
  required this.value,
  required this.color,
  this.formattedValue,
});