Scanbot SDK has been acquired by Apryse! Learn more

Learn more
Skip to content

Flutter QR Code Scanner

The Scanbot Flutter QR Code Scanner SDK lets you add fast and reliable QR Code scanning to your Android and iOS applications.

Trusted by 400+ global
industry leaders

Thalia Logo Logo United Airlines blue Volvo Customer Shiseido Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer Thalia Logo Logo United Airlines blue Volvo Customer Shiseido Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer
Mobile barcode scanner SDK scanning a QR code for a 25% discount coupon.

Real-time AR feedback

The Flutter QR Code Scanner provides real-time AR feedback, helping users interact with their environment by displaying additional content during scanning.

Barcode scanning on a mobile phone. JavaScript Barcode Scanner SDK scanning a shipping label.

QR code scanning in challenging conditions

The Flutter QR Code Scanner SDK is optimized for reliable performance even in challenging environments:

  • Damaged QR codes
  • Low-light environments
  • Tiny or distant QR codes

Customizable UI components

Our Ready-To-Use UI components cover all barcode scanning scenarios and are highly customizable. Learn more

Fast.
Very fast.
Every scan happens in 0.04s or less

Scans all major barcode types Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode

Add a fast and reliable QR Code Scanner to your Flutter app

Integrate the Scanbot Flutter QR Code Scanner SDK into your cross-platform apps with ease. The Scanbot SDK is designed to handle various lighting conditions and even partially damaged QR codes, ensuring reliable performance in any situation. It supports scanning from the live camera stream, as well as scanning from images or files.

Supported QR Codes include regular QRs, rMQR Codes, Micro QR Codes, GiroCodes, and Swiss QR Codes. Additionally, the Scanbot Barcode Scanner SDK supports a wide variety of 1D and other 2D barcodes, including EAN, UPC, PDF417 and Data Matrix. It also provides data parsers, like IATA, AAMVA, GS1, that return key-value pairs for easier processing

The Ready-To-Use UI Components allow for easy customization with your brand with just a few lines of code. Features include AR overlays, user guidance, automatic capture and cropping, as well as pre-built scanning modes. If you require more flexibility, use our Custom UI.

Need help? Reach out to our technical support team to help guide you through the integration process and ensure that your Flutter app takes full advantage of the Scanbot QR Code Scanner SDK.

Technical requirements

The Scanbot Flutter Barcode Scanner SDK requires:

  • Developer Tools: 
    • The latest Flutter SDK
    • For Android apps: Android SDK (API Level 23+)
    • For iOS apps: macOS with latest Xcode and Command Line Tools
  • Platforms Supported: Android 5.0+ (API Level 21+) and iOS 13.0+
  • Hardware Requirements: A rear-facing camera with autofocus
  • Architectures:
    • Android: armeabi-v7a, arm64-v8a, x86, x86_64
    • iOS: arm64, armv7, x86_64, i386

Integrate this afternoon
with

Features

Discover common Flutter QR code scanning use cases

See how the scan modes of the Scanbot Flutter QR Code Scanner can improve your workflows.

  • Single Scanning

    Single Scanning mode captures one QR Code at a time. This mode is ideal for simple tasks such as re-ordering a product or looking up stock. An optional confirmation sheet lets users verify the scanned value before submitting.

  • Batch Scanning

  • Multi Scanning

  • Find & Pick

  • Scan & Count

Single Barcode Scanning SDK Batch Barcode Scanning Multi Barcode Scanner Find & Pick Barcode Scanner Scan & Count

How to integrate the Scanbot Flutter QR Code Scanner SDK using RTU UI

To integrate the Scanbot Flutter QR Code Scanner SDK, add the SDK dependencies to your project, initialize the SDK with your license key, and launch a scanning mode via the Ready-To-Use UI.

 

Launching the RTU UI Barcode Scanner

 

With just a few lines of code, you can integrate barcode scanning into your application’s workflow. It’s as simple as creating a new Widget to enhance your app’s functionality.

 

import 'package:flutter/material.dart';
import 'package:barcode_scanner/scanbot_barcode_sdk.dart';
import 'package:scanbot_barcode_sdk_example/utility/utils.dart';

class MyHomePage extends StatefulWidget {
  @override
  State createState() => _MyHomePageState();
}

class _MyHomePageState extends State {
  _startBarcodeScanner() async {
    // Create the default configuration object.
    var configuration = BarcodeScannerScreenConfiguration();

    // TODO: configure as needed

    var result = await ScanbotBarcodeSdk.barcode.startScanner(configuration);

    if (result is Ok) {
      // TODO: present barcode result as needed
    } else {
      await showAlertDialog(context, title: "Info", result.toString());
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButton: FloatingActionButton(
        onPressed: _startBarcodeScanner,
        child: const Icon(Icons.camera),
      ),
    );
  }
}

Frequently Asked Questions

What is a Flutter QR Code Scanner SDK?

A Flutter QR Code Scanner SDK is a software development kit that enables developers to integrate QR code and barcode scanning capabilities into their Flutter mobile applications, supporting both Android and iOS platforms.

How can I implement QR code scanning in my Flutter app?

To implement QR code scanning in your Flutter app, use a Scanner SDK like the Scanbot SDK that supports Flutter. Add the SDK to your project, initialize it in your app's main.dart file, and use its API to create a scanning widget or button. Implement the scanning functionality by calling the SDK's methods when the user activates the scanner, then handle the scan results in your Dart code.

Is it possible to scan QR codes from gallery images using a Flutter QR code scanner?

Yes, the Scanbot SDK for Flutter supports scanning codes from static images as well as real-time camera scanning. This allows you to process QR codes from images in the device gallery or those captured by the camera, offering flexibility for various use cases, such as processing saved QR codes or bulk scanning.

Does the Flutter QR Code Scanner SDK work offline?

Yes, the Scanbot Flutter QR Code Scanner SDK operates entirely offline. All code scanning and data processing occur locally on the device, ensuring data privacy and allowing for usage in areas with limited or no internet connectivity. This makes it ideal for apps that need to function in offline environments.

How can I customize the UI of the Flutter QR code scanner?

The Scanbot QR Code Scanner SDK for Flutter provides customizable UI components. You can adjust elements such as the scanner overlay color, scan area size, button styles, and custom messages using Flutter widgets and the SDK's customization options. Refer to the SDK's documentation for specific customization methods and best practices for integrating with Flutter's UI system.

What's the best way to improve QR code scanning performance in my Flutter app?

To achieve superior scanning performance in your Flutter app, utilize a machine learning-based solution like the Scanbot SDK. ML-powered SDKs offer more robust and accurate scanning compared to traditional algorithm-based scanners. They handle challenging conditions better, including poor lighting, reflective surfaces, and partially damaged codes. This approach typically results in faster recognition, higher accuracy, and improved performance across various devices, significantly enhancing your Flutter app's QR code scanning capabilities.

Can the Flutter QR Code Scanner SDK read multiple QR codes simultaneously?

Yes, advanced Flutter QR Code Scanner SDKs like the Scanbot SDK support multi-code scanning. This feature allows the simultaneous detection and decoding of multiple QR codes within the camera frame, which is particularly useful for inventory management, batch processing, or any scenario where multiple codes need to be scanned quickly.