A beautiful, feature-rich QR Code generator and scanner built with Flutter. Create, scan, customize, and share QR codes with a premium glassmorphism UI design.
- Create QR codes from URLs, text, emails, or phone numbers
- 6 beautiful gradient color themes
- Customizable QR dot styles (rounded/square)
- Adjustable QR code size
- Add your own center logo
- Auto-save to history
- Share or save as high-resolution PNG
- Real-time camera-based QR scanning
- Animated scan line with gradient effects
- Haptic feedback & scan sound effects
- Auto-detect URLs for quick opening
- Copy, share, or open scanned results
- Torch & camera flip controls
- Personal QR code with persistent settings
- Full theme & style customization
- One-tap share & save functionality
- Browse all generated & scanned QR codes
- Beautiful preview with hero animations
- Share, copy, or delete individual entries
- Relative time formatting
- Dark / Light theme toggle
- Clear history with confirmation
- Privacy policy & feedback links
| Technology | Purpose |
|---|---|
| Flutter 3.8+ | Cross-platform UI framework |
| Riverpod | Reactive state management |
| Hive | Fast local NoSQL storage |
| mobile_scanner | Modern camera-based QR scanning |
| qr_flutter | QR code generation & rendering |
| screenshot | High-res QR image capture |
| share_plus | Native sharing functionality |
| url_launcher | Open URLs in browser |
| confetti | Celebration animations |
| audioplayers | Scan beep sound effects |
lib/
├── main.dart # App entry point & Hive initialization
├── theme/
│ └── app_theme.dart # Light/dark themes, gradients, colors
├── models/
│ └── qr_entry.dart # QR data model
├── providers/
│ ├── history_provider.dart # Hive-backed history state
│ └── theme_provider.dart # Theme toggle persistence
├── screens/
│ ├── home_shell.dart # Bottom navigation with animated scan button
│ ├── generate_screen.dart # QR generation with customization
│ ├── scan_screen.dart # Camera scanner with mobile_scanner
│ ├── history_screen.dart # History list with detail view
│ ├── myqr_screen.dart # Personal QR card
│ └── settings_screen.dart # App settings & about
└── widgets/
├── custom_appbar.dart # Glassmorphism app bar
└── splash_screen.dart # Animated splash screen
- Flutter SDK 3.8+
- Dart SDK 3.8+
- Android Studio / Xcode for device deployment
# Clone the repository
git clone https://github.com/RahimU4/smart-qr-code.git
# Navigate to project directory
cd smart-qr-code
# Install dependencies
flutter pub get
# Run the app
flutter runAndroid: Camera permission is configured in AndroidManifest.xml.
iOS: Camera and photo library permissions are configured in Info.plist.
The app uses a glassmorphism design system with:
- Frosted glass cards with
BackdropFilter - Smooth gradient backgrounds
- Animated transitions & micro-interactions
- Haptic feedback on key actions
- Adaptive dark/light themes
This project is licensed under the MIT License — see the LICENSE file for details.
Rahim Dev
- Email: info@rahimdev.net
- Website: sparkdevx.com
⭐ If you found this project useful, please consider giving it a star!