margin property

EdgeInsets margin
final

Customizes the chart.

Defaults to const EdgeInsets.fromLTRB(10, 10, 10, 10).

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

Implementation

final EdgeInsets margin;