Skip to content

Haris2v/combined_barcode_scanner

 
 

Repository files navigation

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

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()],
)

About

Combined barcode scanner for flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 72.4%
  • Kotlin 24.3%
  • Shell 1.5%
  • Ruby 1.4%
  • Other 0.4%