groupMode property

CircularChartGroupMode? groupMode
final

Slice can also be grouped based on the data points value or based on index.

Defaults to CircularChartGroupMode.point

Also refer CircularChartGroupMode

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 groupTo: 3,
                 groupMode: CircularChartGroupMode.point,
               ),
             ],
       ));
}

Implementation

final CircularChartGroupMode? groupMode;