margin property

EdgeInsets margin
final

Customizes the chart.

Defaults to const EdgeInsets.all(10).

Widget build(BuildContext context) {
   return Container(
       child: SfPyramidChart(
           margin: const EdgeInsets.all(2),
       )
   );
}

Implementation

final EdgeInsets margin;