combined_barcode_scanner 1.0.0 copy "combined_barcode_scanner: ^1.0.0" to clipboard
combined_barcode_scanner: ^1.0.0 copied to clipboard

Barcode scanner package that combines multiple sources behind a simple interface

Combined barcode scanner #

This package contains the basis for creating new barcode scanners that can be combined into a single barcode scanner source.

To implement a custom scanner, import this package and implement your custom subclass of BarcodeScanner and BarcodeScannerController

Not found FastBarcodeScanner() #

see https://github.com/icapps/combined_barcode_scanner/issues/8

We are waiting for a merge in one of the dependencies. While we wait, you can use this "temporary" workaround

Example Usage #

BarcodeScannerWidget(
  controller: _controller,
  onScan: (code) {
    print("GOT BARCODE =========== ${code.code}");
  },
  configuration: const ScannerConfiguration(
    enableFormats: {BarcodeFormat.qr},
    cameraConfiguration: CameraConfiguration(
      frameRate: 30,
      mode: BarcodeDetectionMode.continuous,
      resolution: CameraResolution.medium,
      type: CameraType.back,
    ),
  ),
  scanners: [FastBarcodeScanner()],
)
11
likes
140
pub points
65%
popularity

Publisher

verified publishericapps.com

Barcode scanner package that combines multiple sources behind a simple interface

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, icapps_torch_compat

More

Packages that depend on combined_barcode_scanner