RgbaImage constructor

const RgbaImage(
  1. Uint8List bytes, {
  2. required int width,
  3. required int height,
  4. double scale = 1.0,
})

initial from rgba bytes and the specified width & height

Implementation

const RgbaImage(
  this.bytes, {
  required this.width,
  required this.height,
  this.scale = 1.0,
});