qr_scanner_overlay
0.0.2, released 3 years ago by an unverified publisher
A simple QR scanner style overlay widget for a Stack with a camera scanner
WASM-ready
What it does
Provides a customizable QR scanner overlay widget that can be placed in a Stack alongside a camera scanner. It supports two modes: an overlay using an asset image path or an overlay using a solid color.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a visual targeting box or overlay for a QR or barcode scanner
- You want to customize the scan area size, border color, border radius, and stroke width
Skip it when
- You need actual camera scanning functionality built into the widget rather than just a UI overlay
- You require network images for the overlay instead of local asset images
Strengths
- Simple and lightweight widget for Stack layouts
- Supports custom colors or asset images for the overlay
- Configurable scan area dimensions, border color, and border radius
Weaknesses
- Only supports local asset images for the image overlay mode
- Does not handle camera logic on its own; requires a separate camera scanner
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
return Scaffold(
body: Stack(
children: [
MobileScanner(
controller: cameraConroller,
onDetect: (capture) {
// do something
},),
QRScannerOverlay(imagePath: "images/test.jpg",)
],
),
);Alternatives
Packages that do the same job and could replace qr_scanner_overlay.
- mobile_scanner
It is an alternative scanner package that often includes complete scanning features.
95Compare - qr_code_scanner_plus
It is an alternative QR scanning solution.
94Compare - pretty_qr_code
It offers customized rendering for QR codes.
68Compare