width property
Width of the annotation.
Defaults to 0%
.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
annotations: <CircularChartAnnotation>[
CircularChartAnnotation(
width: '10%',
child: Container(
child: const Text('Empty data'),
),
),
],
));
}
Implementation
final String width;