Flutter Examples

Working code for each barKoder feature on Flutter. Start with the general example, then add what your app needs.

Start here General example A complete scanner screen: the license key, the barcode types to read, the settings and the result. setBarcodeTypeEnabled Open the example →
import 'package:flutter/material.dart';
import 'package:barkoder_flutter/barkoder_flutter.dart';

class BarcodeScanner extends StatefulWidget {
  @override
  _BarcodeScannerState createState() => _BarcodeScannerState();
}

class _BarcodeScannerState extends State<BarcodeScanner> {
  Barkoder? _barkoder;
  String? scannedResult;
  bool isScanning = false;

  void _onBarkoderViewCreated(Barkoder barkoder) {

Scanning modes 4

Hard-to-read codes 2

Documents and IDs 4

Not what you need?Search all the docs, or ask the team.