PieChart constructor
const
PieChart({
- Key? key,
- required List<
PieChartData> data, - String? title,
- TextStyle? titleStyle,
- double aspectRatio = 3.0,
- LegendPosition legendPosition = LegendPosition.bottom,
- String pieTooltipBuilder(
- PieChartData data
Implementation
const PieChart({
super.key,
required this.data,
this.title,
this.titleStyle,
this.aspectRatio = 3.0,
this.legendPosition = LegendPosition.bottom,
this.pieTooltipBuilder,
});