QR Scanner/Generator in Flutter
Scan or Generate custom QR Codes using Flutter app.
- Scanning QR
For scanning a QR Code we need to add the following line in any onpressed event.,
var data = await BarcodeScanner.scan(options: options);
BarcodeScanner.scan() will return the raw data as a result of scan process and it is stored in the
2. Generate QR
QrImage() widget will generate a QR for the given data [
the other parameters can be configured based on user choice.
Well that’s it.,
👨💻Get the complete Source Code here 👉🏻: https://github.com/vijayinyoutube/QRScanner
Other articles you may like.,
If you want to know more about Flutter and various Widgets in Flutter…?🤓 Then visit my channel vijaycreations🚩