BarcodeScanner constructor

BarcodeScanner({
  1. List<BarcodeFormat> formats = const [BarcodeFormat.all],
})

Constructor to create an instance of BarcodeScanner. Returns a barcode scanner with the given formats options.

Implementation

BarcodeScanner({this.formats = const [BarcodeFormat.all]});