ChartPie constructor

const ChartPie({
  1. Key? key,
  2. required Size size,
  3. required List<ChartPieBean> chartBeans,
  4. Duration? duration,
  5. Color? backgroundColor,
  6. double? globalR,
  7. double centerR = 0,
  8. Color centerColor = defaultColor,
  9. double divisionWidth = 0,
  10. AssistTextShowType assistTextShowType = AssistTextShowType.None,
  11. ArrowBegainLocation arrowBegainLocation = ArrowBegainLocation.Top,
  12. BaseBean? baseBean,
  13. Color assistBGColor = defaultColor,
  14. int decimalDigits = 0,
  15. Widget? centerWidget,
})

Implementation

const ChartPie({
  Key? key,
  required this.size,
  required this.chartBeans,
  this.duration,
  this.backgroundColor,
  this.globalR,
  this.centerR = 0,
  this.centerColor = defaultColor,
  this.divisionWidth = 0,
  this.assistTextShowType = AssistTextShowType.None,
  this.arrowBegainLocation = ArrowBegainLocation.Top,
  this.baseBean,
  this.assistBGColor = defaultColor,
  this.decimalDigits = 0,
  this.centerWidget,
}) : super(key: key);