CircularChartAnnotation constructor
const
CircularChartAnnotation({
- int angle = 0,
- String radius = '0%',
- required Widget widget,
- String height = '0%',
- String width = '0%',
- ChartAlignment horizontalAlignment = ChartAlignment.center,
- 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,
});