How to make GSprite from Uint8List Image
Sorry for the beginner's question. How to make GSprite from Uint8List Image?
Well, a GSprite is mostly a "container" to add other display objects but has a graphics property to draw things in it as well. If you wanna display an Image (from the bytes) is more performant an easier to use a GBitmap (which is a display object as well) and add it as child of a Gsprite, Another approach is using the Image as a "fill" for drawing, with a GShape or a GSprite, and access the graphics.beginBitmapFill. I will try to post an example later here for you, but dig into the examples source codes in the meantime to see how to render images with graphx
Thank you. I should have told you first. So, I want to use a flutter screenshot (Uinit8List) as a background.