Flutter : set background image for Painter class
You just need to use a transparent
background Color for the Painter
PainterController _controller; @override void initState() { _controller = PainterController(); _controller.thickness = 5.0; _controller.backgroundColor = Colors.transparent; super.initState(); }
and that's it.