flutter_qr_code 0.0.2+2
flutter_qr_code: ^0.0.2+2 copied to clipboard
A new Flutter QrCode plugin.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_qr_code
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_qr_code: ^0.0.2+2
copied to clipboard
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/platform_interface.dart';
import 'package:flutter_qr_code/qr_scan_controller.dart';
import 'package:flutter_qr_code/qr_scan_view.dart';
copied to clipboard