barcode_scanner 3.6.0-alpha2 barcode_scanner: ^3.6.0-alpha2 copied to clipboard
Flutter plugin of the Scanbot Barcode Scanner SDK for Android and iOS. Provides functionality for scanning 1D and 2D barcodes, like EAN, UPC, QR code, Data Matrix, PDF 417, etc.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add barcode_scanner
With Flutter:
$ flutter pub add barcode_scanner
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
barcode_scanner: ^3.6.0-alpha2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:barcode_scanner/barcode_parsers/aamva.dart';
import 'package:barcode_scanner/barcode_parsers/aamva.g.dart';
import 'package:barcode_scanner/barcode_parsers/barcode_scanner.dart';
import 'package:barcode_scanner/barcode_parsers/boarding_pass.dart';
import 'package:barcode_scanner/barcode_parsers/boarding_pass.g.dart';
import 'package:barcode_scanner/barcode_parsers/de_medical_plan.dart';
import 'package:barcode_scanner/barcode_parsers/de_medical_plan.g.dart';
import 'package:barcode_scanner/barcode_parsers/id_card_pdf_417.dart';
import 'package:barcode_scanner/barcode_parsers/id_card_pdf_417.g.dart';
import 'package:barcode_scanner/barcode_parsers/medical_certificate.dart';
import 'package:barcode_scanner/barcode_parsers/medical_certificate.g.dart';
import 'package:barcode_scanner/barcode_parsers/sepa.dart';
import 'package:barcode_scanner/barcode_parsers/sepa.g.dart';
import 'package:barcode_scanner/barcode_parsers/vcard.dart';
import 'package:barcode_scanner/barcode_parsers/vcard.g.dart';
import 'package:barcode_scanner/barcode_scanning_data.dart';
import 'package:barcode_scanner/barcode_scanning_data.g.dart';
import 'package:barcode_scanner/classical_components/barcode_camera.dart';
import 'package:barcode_scanner/classical_components/barcode_live_detection.dart';
import 'package:barcode_scanner/classical_components/barcode_scanner_configuration.dart';
import 'package:barcode_scanner/classical_components/barcode_scanner_configuration.g.dart';
import 'package:barcode_scanner/classical_components/camera_configuration.dart';
import 'package:barcode_scanner/classical_components/camera_configuration.g.dart';
import 'package:barcode_scanner/classical_components/classical_camera.dart';
import 'package:barcode_scanner/classical_components/finder.dart';
import 'package:barcode_scanner/classical_components/live_detection.dart';
import 'package:barcode_scanner/json/barcode_configuration_json.dart';
import 'package:barcode_scanner/json/barcode_configuration_json.g.dart';
import 'package:barcode_scanner/json/batch_barcode_configuration_json.dart';
import 'package:barcode_scanner/json/batch_barcode_configuration_json.g.dart';
import 'package:barcode_scanner/json/common_data.dart';
import 'package:barcode_scanner/json/common_data.g.dart';
import 'package:barcode_scanner/license.dart';
import 'package:barcode_scanner/scanbot_barcode_sdk.dart';
import 'package:barcode_scanner/scanbot_encryption_handler.dart';
import 'package:barcode_scanner/scanbot_sdk_models.dart';
import 'package:barcode_scanner/scanbot_sdk_models.g.dart';
import 'package:barcode_scanner/sdk_utils.dart';