juliansteenbakker/mobile_scanner ? reverse-engineered prompt
Reverse engineered prompt
Build me a Flutter package and example app for scanning barcodes and QR codes with the camera.
I want it to work smoothly on Android, iPhone, iPad, Mac, and web, with real time detection, support for multiple barcode formats, and a clean camera preview. It should feel fast and lightweight, and let the app developer customize things like the scan area, camera behavior, and whether the scanned image is returned too.
Please include a simple example app that shows the basic scanner, a scan window example, and an example for reading codes from images. Make sure the camera permission setup is handled clearly for each platform, and that the web version works without requiring manual script setup.
If you need to check current platform docs or APIs while building it, go ahead and look them up online. I mostly want a polished, working scanner package that’s easy to drop into a Flutter app and feels production ready.
Are you gonna build this?
make sure you review the code using coderabbit