Closed freshteapot closed 4 years ago
Is this likely to be merged ? I also need this functionality.
Hi, after reviewing your code, I don't understand, how the decoration is actually applied. You declare it, but where do you use it?
Actually what this PR do is adding Decoration
field with proper setter/getter, but that's all.
There are 2 things that should be done to make it proper PR:
_decorationForPainter
in painter.dart
, because its unused ATM.Decorator
so that logic is on library side.@gedw99
Here is my pull request for work around to set the background.
Hope this helps some one to achieve it.
No problem for closing it, it was mostly to show a way to do it. I am still far too new, to know how best to do it in flutter.
Example usage:
I am not sure if this is the best approach, as I am still quite new to flutter. Equally this does not satisfy the issue request (#3 ) of using an image from the gallery.