UDonutChart constructor

const UDonutChart({
  1. required List<USlice> slices,
  2. Key? key,
  3. String? title,
  4. String? centerText,
  5. double holeFactor = 0.6,
  6. UChartStyle style = const UChartStyle(),
  7. double height = 260,
})

Implementation

const UDonutChart({
  required this.slices,
  super.key,
  this.title,
  this.centerText,
  this.holeFactor = 0.6,
  this.style = const UChartStyle(),
  this.height = 260,
});