DoughnutOrPieChart constructor

const DoughnutOrPieChart({
  1. Key? key,
  2. required List<ChartSampleData> dataSource,
  3. bool isShowDataLabel = true,
  4. bool isDoughnutChart = false,
  5. bool isPieChart = false,
})

Implementation

const DoughnutOrPieChart({super.key,
  required this.dataSource,
  this.isShowDataLabel = true,
  this.isDoughnutChart = false,
  this.isPieChart = false});