PieChatWidget constructor

PieChatWidget({
  1. Key? key,
  2. required List<EChartPieBean> dataList,
  3. int initSelect = 0,
  4. dynamic clickCallBack(
    1. int index
    )?,
  5. LoopType loopType = LoopType.NON,
  6. OpenType openType = OpenType.ANI,
  7. bool isLineText = true,
  8. bool isBackground = true,
  9. bool isFrontgText = true,
  10. int animationMills = 1800,
  11. bool isLog = false,
  12. Color bgColor = const Color(0xFFCADCED),
  13. bool isHelperLine = false,
})

Implementation

PieChatWidget({
  Key? key,
  required this.dataList,
  this.initSelect = 0,
  this.clickCallBack,
  this.loopType = LoopType.NON,
  this.openType = OpenType.ANI,
  this.isLineText = true,
  this.isBackground = true,
  this.isFrontgText = true,
  this.animationMills = 1800,
  this.isLog = false,
  this.bgColor = const Color(0xFFCADCED),
  this.isHelperLine = false,
}) : super(key: key);