camcode 1.0.4 camcode: ^1.0.4 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.4
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';
import 'package:camcode/dart_ui_stub/dart_ui.dart';
import 'package:camcode/dart_ui_stub/dart_ui_fake.dart';
import 'package:camcode/dart_ui_stub/dart_ui_real.dart';