PieChart constructor
const
PieChart({
- required Input<
PieChartChartType> chartType, - required Input<
List< dataSets,PieChartDataSet> > - Input<
bool> ? showLabels,
Creates a new PieChart.
chartType Indicates the visualization type for the PieChart.
dataSets The queries for the chart's data.
showLabels Optional. Indicates whether or not the pie chart should show slices' labels
Implementation
const PieChart({
required this.chartType,
required this.dataSets,
this.showLabels,
});