PngImage.from constructor

PngImage.from(
  1. ByteData bytes, {
  2. required int width,
  3. required int height,
})

Implementation

PngImage.from(this.bytes, {required this.width, required this.height});