camcode 1.0.1 camcode: ^1.0.1 copied to clipboard
A camera barcode scanner for Flutter Web using your favorite Javascript library
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add camcode
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
camcode: ^1.0.1
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:camcode/barcode.dart';
import 'package:camcode/camcode_web.dart';
import 'package:camcode/cam_code_scanner.dart';