annotations property
Customizes the annotations. Annotations are used to mark the specific area of interest in the plot area with texts, shapes, or images.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
annotations: <CircularChartAnnotation>[
CircularChartAnnotation(
angle: 200,
radius: '80%',
widget: const Text('Circular Chart')
),
],
)
);
}
Implementation
final List<CircularChartAnnotation>? annotations;