Vijay R

Oct 15, 2020

2 min read

QR Scanner/Generator in Flutter

Scan or Generate custom QR Codes using Flutter app.

Video Tutorial



  1. Scanning QR

For scanning a QR Code we need to add the following line in any onpressed event.,

BarcodeScanner.scan() will return the raw data as a result of scan process and it is stored in the data variable.

2. Generate QR

The above QrImage() widget will generate a QR for the given data [“data” ]
the other parameters can be configured based on user choice.

Well that’s it.,

👨‍💻Get the complete Source Code here 👉🏻:

Other articles you may like.,

🔵Setting up your Flutter app for publishing in Play Store.

🟤Async Programming in Dart

🟡Scratch Card in Flutter

🔴Confetti Animation in Flutter

🟢 Google Fonts in Flutter app

🔴 Image Picker in Flutter

🟡 Change App Launcher Icon in Flutter

🟤 Neon Lighting in Flutter

🔵 Image Filter in Flutter

🟣 Enabling Flutter Web

🟠 Animated Icons in Flutter

🟢 Best VSCode Extensions

🔴 AnimatedContainer Widget in Flutter

🟡 GradientText in Flutter

🟤 Custom Clipper in Flutter

🔵 Carousel Slider in Flutter

🟣 Flutter BLoC Pattern

Flutter Tutorials

If you want to know more about Flutter and various Widgets in Flutter…?🤓 Then visit my channel vijaycreations🚩