raw_image_provider

Last updated:

0 purchases

raw_image_provider Image
raw_image_provider Images
Add to Cart

Description:

raw image provider

Raw pixel data ImageProvider #
Support Image widget to load raw rgba pixels data.
Example #
// create RawImageData
var width = 100;
var height = 100;
var pixels = Uint8List.fromList(
List.generate(width * height * 4, (i) => i % 4 < 1 ? 0 : 0xff),
);

var raw = RawImageData(
pixels,
width,
height,
pixelFormat: PixelFormat.rgba8888,
);
// build Image Widget:
var image = Image(image: RawImageProvider(raw));
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.