CircularChartAnnotation constructor
CircularChartAnnotation({
- int? angle,
- String? radius,
- Widget? widget,
- String? height,
- String? width,
- ChartAlignment? horizontalAlignment,
- ChartAlignment? verticalAlignment,
Creating an argument constructor of CircularChartAnnotation class.
Implementation
CircularChartAnnotation(
{int? angle,
String? radius,
this.widget,
String? height,
String? width,
ChartAlignment? horizontalAlignment,
ChartAlignment? verticalAlignment})
: angle = angle ?? 0,
radius = radius ?? '0%',
height = height ?? '0%',
width = width ?? '0%',
verticalAlignment = verticalAlignment ?? ChartAlignment.center,
horizontalAlignment = horizontalAlignment ?? ChartAlignment.center;