BarcodeCapture constructor

BarcodeCapture({
  1. List<Barcode> barcodes = const <Barcode>[],
  2. double? height,
  3. Uint8List? image,
  4. dynamic raw,
  5. double? width,
})

Create a new BarcodeCapture instance.

Implementation

BarcodeCapture({
  this.barcodes = const <Barcode>[],
  double? height,
  this.image,
  this.raw,
  double? width,
}) : size =
          width == null && height == null ? Size.zero : Size(width!, height!);