Skip to content

RahimU4/smart-qr-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart QR Code

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.

✨ Features

🎨 Generate QR Codes

  • 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

📷 Scan QR Codes

  • 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

🪪 My QR Card

  • Personal QR code with persistent settings
  • Full theme & style customization
  • One-tap share & save functionality

📜 History

  • Browse all generated & scanned QR codes
  • Beautiful preview with hero animations
  • Share, copy, or delete individual entries
  • Relative time formatting

⚙️ Settings

  • Dark / Light theme toggle
  • Clear history with confirmation
  • Privacy policy & feedback links

🛠 Tech Stack

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

📁 Project Structure

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

🚀 Getting Started

Prerequisites

  • Flutter SDK 3.8+
  • Dart SDK 3.8+
  • Android Studio / Xcode for device deployment

Installation

# 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 run

Platform Setup

Android: Camera permission is configured in AndroidManifest.xml.

iOS: Camera and photo library permissions are configured in Info.plist.

🎨 Design Philosophy

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

📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

👤 Author

Rahim Dev


⭐ If you found this project useful, please consider giving it a star!

About

A beautiful QR code generator & scanner built with Flutter featuring glassmorphism UI, real time scanning, custom themes, and history management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages