Search packages, repositories and app categories

barcode_finder cover
Package detailsv0.0.5

barcode_finder

Barcode Finder is a plugin for reading barcodes and QRCodes from pdf files and images using Zxing for Android and Zxing and Zbar for iOS

AndroidiOS
30-day downloads
99
Likes
37
Pub points
130

Install package

flutter pub add barcode_finder

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Barcode Finder is a Flutter plugin designed to extract barcodes and QR codes from images and PDF files. It leverages Zxing for Android and combines Zxing with Zbar for iOS, ensuring reliable scanning across platforms. The package supports both 1D and 2D barcode formats, making it ideal for document processing, inventory tracking, and data capture applications. It integrates seamlessly into Flutter apps with minimal setup.

Use cases

  • Reading barcodes from scanned documents
  • Extracting QR codes from images
  • Processing PDFs with embedded barcodes
  • Automating data entry from physical labels
  • Scanning product information in retail apps

Key features

  • Supports Android and iOS platforms
  • Uses Zxing and Zbar for high accuracy
  • Handles images and PDF files
  • Cross-platform consistency
  • Simple integration via Flutter pub

Suitable for

  • Mobile apps needing barcode scanning
  • Inventory and logistics systems
  • Retail and e-commerce tools
  • Document digitization workflows
  • Apps requiring quick data extraction

Considerations

  • Requires native dependencies on iOS and Android
  • May need additional permissions for file access
  • Performance depends on image quality
  • Limited to supported barcode types
  • Not optimized for real-time camera scanning

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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 ML-kit on Android and 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.

Categories

Source repository

Projects using this package

No data available yet.