series: <CircularSeries>[
PieSeries<GDPData, String>(
dataSource: _chartData,
xValueMapper: (GDPData data, _) => data.name,
yValueMapper: (GDPData data, _) => data.gdp,
dataLabelSettings: DataLabelSettings(isVisible: true),
explode: true,
explodeIndex: 1,
)
],
'type 'PieSeriesRendererExtension' is not a subtype of type 'CartesianSeriesRenderer''
CodePudding user response:
Try replacing SfCartesianChart widget with SfCircularChart