CameraImagePlane constructor

const CameraImagePlane({
  1. required Uint8List bytes,
  2. required int bytesPerRow,
  3. int? bytesPerPixel,
  4. int? height,
  5. int? width,
})

Creates a new instance with the given bytes and optional metadata.

Implementation

const CameraImagePlane({
  required this.bytes,
  required this.bytesPerRow,
  this.bytesPerPixel,
  this.height,
  this.width,
});