CustomPieSlice constructor

const CustomPieSlice({
  1. required String name,
  2. required double value,
  3. String? color,
  4. String? borderColor,
  5. double borderWidth = 0,
  6. double explode = 0,
  7. bool selected = false,
})

Implementation

const CustomPieSlice({
  required this.name,
  required this.value,
  this.color,
  this.borderColor,
  this.borderWidth = 0,
  this.explode = 0,
  this.selected = false,
});