painter2 icon indicating copy to clipboard operation
painter2 copied to clipboard

Painter2 inside a listView widget - Not able to draw vertically

Open devmithunnath opened this issue 4 years ago • 0 comments

Unable to draw vertically when placed inside a ListView widget.

PainterController controller = PainterController();
controller.thickness = 5.0; 
controller.backgroundColor = Colors.green;
ListView(
        shrinkWrap: true,
        children: [
           Painter(controller),
       ], 
);

Is there a better way to place a painter inside listview and override the gesture behaviours? Thanks

devmithunnath avatar Mar 04 '20 21:03 devmithunnath