Search packages, repositories and app categories

Package detailsv4.0.0

qr_bar_code

Simple and fast QR code and Barcode generator and scanner with smartphones.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
4.6K
Likes
29
Pub points
160

Install package

flutter pub add qr_bar_code

Package Overview

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

A lightweight Flutter package for generating and scanning QR codes and barcodes using smartphone cameras. It provides a simple API to create QR and barcode images and supports real-time scanning on Android, iOS, Web, macOS, Windows, and Linux. Ideal for apps requiring quick data encoding or decoding, such as ticketing, inventory tracking, or contact sharing. The package is fast and integrates seamlessly with native camera functionality.

Use cases

  • Generating QR codes for digital invitations
  • Scanning barcodes in retail applications
  • Creating shareable links via QR
  • Tracking inventory with barcode scanning
  • Enabling contact exchange through QR codes
  • Supporting mobile payment systems

Key features

  • Real-time QR and barcode scanning
  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Simple API for code generation
  • Fast rendering and detection
  • Camera integration with minimal setup
  • Lightweight and easy to implement

Suitable for

  • Mobile apps needing QR/Barcode functionality
  • Inventory and asset management tools
  • Event ticketing systems
  • Contactless data sharing
  • Retail and point-of-sale applications
  • Educational apps with interactive elements

Considerations

  • Requires camera permissions on mobile platforms
  • Web support may have limited camera access depending on browser
  • Performance varies on older devices
  • May need additional configuration for web deployment
  • Not suitable for high-security applications without additional encryption
  • Limited customization options for scan UI

Original README

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

qr_bar_code

Simple and fast QR code and Barcode generator and scanner with smartphones.

Using

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.

Installation

First, add qr_bar_code as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:

dependencies:
  ...
  qr_bar_code:

For help getting started with Flutter, view the online documentation.

Example

Please follow this example here.

QR code (Method 1)
Code(data: "https://datadirr.com", codeType: CodeType.qrCode())
QR code (Method 2)
QRCode(data: "https://datadirr.com")

Outro

Credits

Thanks to Luke Freeman for his awesome qr.flutter library. Thanks to Kevin Moore for his awesome qr.dart library. It's the core of this library.

For author/contributor information, see the AUTHORS file.

Categories

Dependencies

Dependency list 2 items

  • plugin_platform_interface^2.1.8
  • web^1.1.1

Source repository

Projects using this package

No data available yet.