ArtemisBarcodeScannerView constructor

const ArtemisBarcodeScannerView({
  1. Key? key,
  2. ArtemisBarcodeScannerController? controller,
  3. void onBarcodeRead(
    1. String barcode
    )?,
  4. bool hasBarcodeReader = true,
  5. UsageMode mode = UsageMode.barcodeScanner,
  6. FlashMode initFlash = FlashMode.auto,
  7. bool fill = true,
  8. BarcodeType barcodeType = BarcodeType.allFormats,
  9. CameraType cameraType = CameraType.back,
})

Implementation

const ArtemisBarcodeScannerView(
    {Key? key,
    this.controller,
    this.onBarcodeRead,
    this.hasBarcodeReader = true,
    this.mode = UsageMode.barcodeScanner,
    this.initFlash = FlashMode.auto,
    this.fill = true,
    this.barcodeType = BarcodeType.allFormats,
    this.cameraType = CameraType.back})
    : super(key: key);