CircularChartAnnotation constructor

const CircularChartAnnotation({
  1. int angle = 0,
  2. String radius = '0%',
  3. required Widget widget,
  4. String height = '0%',
  5. String width = '0%',
  6. ChartAlignment horizontalAlignment = ChartAlignment.center,
  7. ChartAlignment verticalAlignment = ChartAlignment.center,
})

Creating an argument constructor of CircularChartAnnotation class.

Implementation

const CircularChartAnnotation({
  this.angle = 0,
  this.radius = '0%',
  required this.widget,
  this.height = '0%',
  this.width = '0%',
  this.horizontalAlignment = ChartAlignment.center,
  this.verticalAlignment = ChartAlignment.center,
});