explode property

bool explode
final

Enables or disables the explode of slices on tap.

Default to false.

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

Implementation

final bool explode;