flutter_qr_reader
flutter_qr_reader copied to clipboard
The method 'QrcodeReaderView' isn't defined for the type '_ScanQRState' (class_Name).

-
[line 5] Unused import: 'package:flutter_qr_reader/flutter_qr_reader.dart'. Try removing the import directive.
-
[line 15] The name 'QrcodeReaderViewState' isn't a type so it can't be used as a type argument. Try correcting the name to an existing type, or defining a type named 'QrcodeReaderViewState'
-
[line 30] The method 'QrcodeReaderView' isn't defined for the type '_ScanQRState'. Try correcting the name to the name of an existing method, or defining a method named 'QrcodeReaderView'
in pubspec.yaml
flutter_qr_reader: ^1.0.5
Any updates on that?
Any updates on that?
no 😔 if you find any solution, please share it with me
@j-j-gajjar For what I've seen, this widget was moved to the example project of the lib (with null safety support).
So I've literally copied the file "qrcode_reader_view.dart" and the /assets from the example project to my project. You can do the same...
Later on I'll migrate to another package since I don't feel very confident with this one for production apps.