backgroundImage property

ImageProvider<Object>? backgroundImage
final

Background image for chart.

Defaults to null.

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

Implementation

final ImageProvider? backgroundImage;