Closed ghost closed 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.
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]
For the example, user really want to keep the area what the smeared by red color,