mtrust_barcode_kit 2.0.2 mtrust_barcode_kit: ^2.0.2 copied to clipboard
Barcode-Kit is a flutter package that allows you to read barcodes using the camera. It uses native textures to display the camera feed and the barcode overlay. It is built on top of the Google ML Kit [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mtrust_barcode_kit
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mtrust_barcode_kit: ^2.0.2
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:mtrust_barcode_kit/mtrust_barcode_kit.dart';