ChartPie constructor
const
ChartPie({
- Key? key,
- bool animate = false,
- List<
ChartLineData> lineData = const [], - double height = 200.0,
- int titleFontSize = 14,
- int arcWidth = 40,
- double maskFontSize = 18.0,
- bool showLegend = true,
- bool showChartTitle = true,
- bool showArcLabel = true,
- ValueChanged? onSelectionChanged,
- Widget? loadingWidget,
Implementation
const ChartPie(
{super.key,
this.animate = false,
this.lineData = const [],
this.height = 200.0,
this.titleFontSize = 14,
this.arcWidth = 40,
this.maskFontSize = 18.0,
this.showLegend = true,
this.showChartTitle = true,
this.showArcLabel = true,
this.onSelectionChanged,
this.loadingWidget});