StyleImage.rgba constructor
Premultiplied RGBA pixel buffer.
pixels must contain exactly 4 * width * height bytes (one scanline
after another). Prefer StyleImage.bytes unless you are generating
pixels procedurally.
Implementation
factory StyleImage.rgba({
required int width,
required int height,
required Uint8List pixels,
}) = StyleImageRgba;