Skip to content

Painter2 inside a listView widget - Not able to draw vertically  #6

@devmithunnath

Description

@devmithunnath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions