explodeIndex property

int? explodeIndex
final

Index of the slice to explode it at the initial rendering.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 explode: true,
                 explodeIndex: 2
               ),
           ],
       )
   );
}

Implementation

final int? explodeIndex;