ChartPie constructor
const
ChartPie({
- Key? key,
- required Size size,
- required List<
ChartPieBean> chartBeans, - Duration? duration,
- Color? backgroundColor,
- double? globalR,
- double centerR = 0,
- Color centerColor = defaultColor,
- double divisionWidth = 0,
- AssistTextShowType assistTextShowType = AssistTextShowType.None,
- ArrowBegainLocation arrowBegainLocation = ArrowBegainLocation.Top,
- BaseBean? baseBean,
- Color assistBGColor = defaultColor,
- int decimalDigits = 0,
- 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);