PieChart constructor

const PieChart({
  1. required Input<PieChartChartType> chartType,
  2. required Input<List<PieChartDataSet>> dataSets,
  3. 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,
});