Future

ui

Image

parseMyImage

Uint8List

image

int

width

int

height

async

final

ui

ImageDescriptor

descriptor

ui

ImageDescriptor

raw

await

ui

ImmutableBuffer

fromUint8List

image

),

width:

width

height:

height

pixelFormat:

ui

PixelFormat

rgba8888

);

return

await

await

descriptor