flutter_qr_code_scaner 2.0.1 flutter_qr_code_scaner: ^2.0.1 copied to clipboard
This package allows user to read or get the data by scan or read QRCode from other object(like wall) or the local image file. This package is available thanks to @hetian9288's work.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_qr_code_scaner
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_qr_code_scaner: ^2.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:flutter_qr_code_scaner/flutter_qr_code_scaner.dart';