ChartPie constructor

const ChartPie({
  1. Key? key,
  2. required Size size,
  3. required List<ChartPieBean> chartBeans,
  4. Duration duration = const Duration(milliseconds: 800),
  5. Color? backgroundColor,
  6. bool isAnimation = true,
  7. double? R,
  8. double? centerR,
  9. Color? centerColor,
  10. double fontSize = 12,
  11. Color? fontColor,
})

Implementation

const ChartPie({
  Key? key,
  required this.size,
  required this.chartBeans,
  this.duration = const Duration(milliseconds: 800),
  this.backgroundColor,
  this.isAnimation = true,
  this.R,
  this.centerR,
  this.centerColor,
  this.fontSize = 12,
  this.fontColor,
}) : super(key: key);