barcode_reader_webassembly 0.0.9 barcode_reader_webassembly: ^0.0.9 copied to clipboard
A flutter web plugin to read barcode using webassembly and zbar.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add barcode_reader_webassembly
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
barcode_reader_webassembly: ^0.0.9
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_reader_webassembly/barcode_reader_webassembly_constants.dart';
import 'package:barcode_reader_webassembly/barcode_reader_webassembly_plugin.dart';
import 'package:barcode_reader_webassembly/barcode_reader_webassembly_web.dart';
import 'package:barcode_reader_webassembly/generated_plugin_registrant.dart';