height property

String height
final

Height of the annotation.

Defaults to 0%.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           annotations: <CircularChartAnnotation>[
               CircularChartAnnotation(
                   height: '10%',
                   child: Container(
                   child: const Text('Empty data'),
                ),
             ),
            ],
       ));
}

Implementation

final String height;