widget property
Considers any widget as annotation.
Defaults to null
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
annotations: <CircularChartAnnotation>[
CircularChartAnnotation(
child: Container(
child:Text('Annotation')),
),
],
));
}
Implementation
final Widget? widget;