PieData constructor
Creates a pie chart segment.
value should be non-negative. If negative, it will be treated as 0.
Implementation
const PieData({required this.label, required this.value, required this.color})
: assert(value >= 0, 'PieData value must be non-negative');