backgroundImage property

ImageProvider<Object>? backgroundImage
final

Background image for chart.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfPyramidChart(
           backgroundImage: const AssetImage('image.png'),
       ));
}

Implementation

final ImageProvider? backgroundImage;