BarcodeScannerCamera constructor

const BarcodeScannerCamera({
  1. Key? key,
  2. required BarcodeCameraConfiguration configuration,
  3. dynamic onCameraPreviewStarted(
    1. bool isFlashAvailable
    )?,
  4. dynamic barcodeListener(
    1. List<BarcodeItem> result
    )?,
  5. Future<void> onPictureTaken(
    1. ImageRef image
    )?,
  6. dynamic onError(
    1. SBException error
    )?,
  7. BarcodeScannerCameraController? controller,
})

Implementation

const BarcodeScannerCamera(
    {Key? key,
    required this.configuration,
    this.onCameraPreviewStarted,
    this.barcodeListener,
    this.onPictureTaken,
    this.onError,
    this.controller})
    : super(key: key);