How mathankumar-dev/qrgenx works
QrGenX is a Flutter QR/barcode utility. The main user journey is scanning with the camera or from a gallery image, viewing the decoded result, and retaining scans in local history; separate branches generate and share QR images and manage settings and themes. The README documents these capabilities and paths, but no Dart implementation was excerpted, so the relationships below rely on README statements rather than inspected call sites.
Main entry points: main_template_screen.dart Navigation shell · history_provider.dart History state · qr_camera_scan_page.dart Camera scanning · scan Gallery scanning
Components 17
App experience
- App entry
lib/main.dart - Splash screen
lib/common/pages/splash_screen.dart - Welcome screen
lib/common/pages/welcome_page.dart - Navigation shell
lib/common/pages/main_template_screen.dart - Settings
lib/features/setting/settings_page.dart - Theme state
lib/common/provider/theme_provider.dart
Scanning
- Camera scanning
lib/features/scan/qr_camera_scan_page.dart - Gallery scanning
lib/features/scan - Image decoder
lib/common/utils/qr_decoder.dart - Scan result
lib/features/scan/ScanResultpage.dart
Scan history
- History screen
lib/features/history/history_page.dart - History state
lib/common/provider/history_provider.dart - Local scan store
lib/data/models/scanned_code_model.dart
QR creation
- QR generator
lib/features/generate/generate_page.dart - QR image sharing
lib/features/generate/generate_page.dart - Share service
Other components
- User
Connections 16
- User → App entry: opens app
README.md - Splash screen → Welcome screen: followed by
README.md - Navigation shell → Camera scanning: offers scan
README.md - Navigation shell → QR generator: offers create
README.md - Navigation shell → History screen: offers history
README.md - Navigation shell → Settings: offers settings
README.md - Camera scanning → Scan result: shows detection
README.md - Gallery scanning → Image decoder: decodes image
README.md - Image decoder → Scan result: provides result
README.md - Camera scanning → History state: saves scan
README.md - Gallery scanning → History state: saves scan
README.md - History state → Local scan store: persists locally
README.md - History screen → History state: shows history
README.md - Settings → Theme state: toggles theme
README.md - QR generator → QR image sharing: exports PNG
README.md - QR image sharing → Share service: shares image
README.md