QR Code Display Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Reusable Flutter widget that renders a QR code image from an invite URL string using the qr_flutter package. Caches the rendered QR bitmap locally for offline display and ensures sufficient contrast and size for reliable scanning at in-person events and workshops.
qr-code-widget
Sources & reasoning
QR rendering is explicitly called out in the implementation notes as client-side via qr_flutter with local caching for offline display. Isolating QR rendering into a standalone widget ensures consistent sizing, offline support, and reusability if QR sharing surfaces appear elsewhere (e.g. event check-in).
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render QR code from invite URL using qr_flutter
- Cache rendered QR bitmap locally for offline availability
- Guarantee minimum contrast and physical size for reliable camera scanning
- Support full-screen expansion for easy scanning
Interfaces
QrCodeWidget({required String url, double size, bool allowFullscreen})
exportAsPng() -> Uint8List