barcode_scanner 6.1.1
barcode_scanner: ^6.1.1 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 Flutter:
$ flutter pub add barcode_scanner
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
barcode_scanner: ^6.1.1
copied to clipboard
Alternatively, your editor might support 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/classic_components.dart';
import 'package:barcode_scanner/rtu_ui_barcode_v2.dart';
import 'package:barcode_scanner/rtu_ui_common_v2.dart';
import 'package:barcode_scanner/scanbot_barcode_sdk.dart';
import 'package:barcode_scanner/scanbot_barcode_sdk_ui_v2.dart';
copied to clipboard