yellowQ-software / yellowQ-Flutter-Image-Painter

Flutter package for painting on images
MIT License
106 stars 117 forks source link

how to reverse painting for free style? #31

Closed ghost closed 2 years ago

ghost commented 2 years ago

How to painting and then reverse the painting area . It just like put a full layer top the image, then using finger smearing the area user want to keep, after that, user will only to keep the area they want [the smeared area]

image

For the example, user really want to keep the area what the smeared by red color,

lively-bigyan commented 2 years ago

That is a pretty good idea but it kind of deviates a lot from the purpose of the package. I don't see that much of a use case for this kind of implementation especially because it kind of feels like the Image Editor kind of feature. You can easily implement the highlighting feature by adding your custom color like Colors.red.withOpacity(0.3) inside the colors parameter and use a filled box or painting with high strokeWidth.