PieBean constructor

PieBean({
  1. required double value,
  2. String type = '',
  3. Color color = defaultColor,
  4. TextStyle assistTextStyle = defaultTextStyle,
  5. String assistText = '',
  6. double rate = 0.0,
  7. double startAngle = 0.0,
  8. double sweepAngle = 0.0,
})

Implementation

PieBean(
    {required this.value,
    this.type = '',
    this.color = defaultColor,
    this.assistTextStyle = defaultTextStyle,
    this.assistText = '',
    this.rate = 0.0,
    this.startAngle = 0.0,
    this.sweepAngle = 0.0});