barcode_finder_plus 0.0.5 copy "barcode_finder_plus: ^0.0.5" to clipboard
barcode_finder_plus: ^0.0.5 copied to clipboard

Barcode Finder Plus is a plugin for reading barcodes and QRCodes from pdf files and images using Zxing for Android and Zxing and Zbar for iOS.Update version of barcode finder.

Barcode Finder #

A flutter plugin for barcode scanner that works on both iOS and Android. Provides functionality for scanning several formats of 1D and 2D barcodes.

It uses Zxing on Android and Zxing+Zbar on iOS to detect codes from PDF and Image files.

Example using app

Getting Started #

Depend on it #

Add this to your package's pubspec.yaml file:

dependencies:
  barcode_finder: latest version

Android Platform #

API 21 is the minimum supported for Android.

Usage #

Lets take a look at how to use BarcodeFinder to scan any PDF or image File using File Picker as a auxiliar plugin.

Future<String?> scanFile() async {
    // Used to pick a file from device storage
    final pickedFile = await FilePicker.platform.pickFiles();
    if (pickedFile != null) {
        final filePath = pickedFile.files.single.path;
        if (filePath != null) {
            return await BarcodeFinder.scanFile(path: path);
        }
    }
}

Make sure you are passing a valid and permissioned path to BarcodeFinder.scanFile, in the exemple above, the package FilePicker provides it for us.

1
likes
150
points
177
downloads

Publisher

unverified uploader

Weekly Downloads

Barcode Finder Plus is a plugin for reading barcodes and QRCodes from pdf files and images using Zxing for Android and Zxing and Zbar for iOS.Update version of barcode finder.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on barcode_finder_plus

Packages that implement barcode_finder_plus