PieChatWidget constructor
PieChatWidget({
- Key? key,
- required List<
EChartPieBean> dataList, - int initSelect = 0,
- dynamic clickCallBack(
- int index
- LoopType loopType = LoopType.NON,
- OpenType openType = OpenType.ANI,
- bool isLineText = true,
- bool isBackground = true,
- bool isFrontgText = true,
- int animationMills = 1800,
- bool isLog = false,
- Color bgColor = const Color(0xFFCADCED),
- 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);