backgroundColor property

Color? backgroundColor
final

Background color of the chart.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfPyramidChart(
           backgroundColor: Colors.blue
       )
   );
}

Implementation

final Color? backgroundColor;