ArtemisCameraKitView constructor

const ArtemisCameraKitView({
  1. Key? key,
  2. ArtemisCameraKitController? 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,
  10. void onOcrRead(
    1. OcrData ocrData
    )?,
})

Implementation

const ArtemisCameraKitView(
    {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, this.onOcrRead})
    : super(key: key);