I have a RawImage widget but I actually need an image provider (like AssetImage or MemoryImage) so that I can build a DecorationImage from it. Is that possible? I've tried a lot of things, including trying to construct a MemoryImage from the raw byte-values but nothing worked so far...
Any help woud be appreciated!