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(
child Container(
child: const Text('Empty data'),
angle: 200,
radius: '80%'
),
),
],
));
}
Implementation
final List<CircularChartAnnotation>? annotations;