RasterImage constructor

RasterImage(
  1. int width,
  2. int height,
  3. Uint8List rgba
)

Implementation

RasterImage(this.width, this.height, this.rgba)
    : assert(rgba.length == width * height * 4);