https://github.com/icapps/combined_barcode_scanner
Combined barcode scanner for flutter
https://github.com/icapps/combined_barcode_scanner
Last synced: about 1 year ago
JSON representation
Combined barcode scanner for flutter
- Host: GitHub
- URL: https://github.com/icapps/combined_barcode_scanner
- Owner: icapps
- License: mit
- Created: 2022-01-03T11:08:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T14:45:01.000Z (over 1 year ago)
- Last Synced: 2025-03-31T19:12:22.120Z (about 1 year ago)
- Language: Dart
- Size: 343 KB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```dart
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()],
)
```