innerRadius property Null safety

String innerRadius
final

Inner radius of the series.

The value ranges from 0% to 100%.

Defaults to 50%.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <DoughnutSeries<ChartData, String>>[
               DoughnutSeries<ChartData, String>(
                 innerRadius: '20%';
               ),
           ],
       )
   );
}

Implementation

final String innerRadius;