droid_qr_scan 1.0.0 droid_qr_scan: ^1.0.0 copied to clipboard
QR Scanner.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add droid_qr_scan
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
droid_qr_scan: ^1.0.0
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:droid_qr_scan/barcode_scanner_view.dart';
import 'package:droid_qr_scan/camera_view.dart';
import 'package:droid_qr_scan/detector_view.dart';
import 'package:droid_qr_scan/gallery_view.dart';
import 'package:droid_qr_scan/main.dart';
import 'package:droid_qr_scan/qr_scanner_overlay_shape.dart';
import 'package:droid_qr_scan/utils.dart';