Install qr_flutter via pubspec.yaml
masterTo use qr_flutter in your Flutter project, add the dependency to your pubspec.yaml file.
For the stable release:
dependencies:
qr_flutter: ^4.1.0If you are using the Flutter master channel or want to use the latest development version from GitHub:
dependencies:
qr_flutter:
git:
url: https://github.com/theyakka/qr.flutterAfter adding the dependency, run flutter packages get or use your IDE's package update feature.