Parse Issue (Xcode): Module 'mobile_scanner' not found
I am using the mobile_scanner package in my Flutter project for barcode/QR code scanning. Here is how and where I use it in the code: 1. pubspec.yaml dependencies: flutter: sdk: flutter mobile_scanner: ^3.5.1 # (example version) 2. Usage in my Dart code I import the package normally: import 'package:mobile_scanner/mobile_scanner.dart'; I use it inside a widget, for example: class ScanPage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: MobileScanner( onDetect: (capture) { final List<Barcode> barcodes = capture.barcodes; for (final barcode in barc
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.