搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫namanh11611/flutter_mvvm_riverpod

flutter_mvvm_riverpod

一個基於 MVVM 架构和 Riverpod 狀態管理的 Flutter 基礎專案。

flutter_mvvm_riverpod 專案封面
星標
342
分支
119
最近推送(UTC)
2026年7月20日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Flutter MVVM Riverpod Starter

A lightweight Flutter starter template implementing MVVM architecture with Riverpod state management and Supabase backend. Perfect for indie hackers and solo developers looking to quickly bootstrap their projects.

This project was inspired by the Flutter App Architecture Guide and the Starter Architecture for Flutter & Firebase.

🎯 Features

  • MVVM Architecture: Clean separation of concerns
  • Riverpod State Management: Efficient and type-safe state management solution
  • Supabase Backend: Ready-to-use backend infrastructure
  • Dark/Light Theme: Built-in theme support
  • Localization: Multi-language support
  • Authentication: Email & Social login ready
  • Routing: Declarative routing with go_router
  • In-App Purchases: RevenueCat integration for subscriptions and purchases

📚 Libraries & Tools

Category Library Purpose
State Management
flutter_riverpod Reactive state management
riverpod_annotation Code generation for Riverpod
Backend & Auth
supabase_flutter Backend as a service
google_sign_in Google authentication
sign_in_with_apple Apple authentication
Navigation
go_router Declarative routing
Storage
shared_preferences Local key-value storage
sqflite Local database
Network
dio HTTP client
connectivity_plus Network connectivity
UI/UX
google_fonts Custom fonts
flutter_svg SVG rendering
shimmer Loading animations
lottie Animation files
Utilities
easy_localization Internationalization
envied Environment variables
uuid Unique identifiers
Analytics
firebase_analytics Usage tracking
firebase_crashlytics Crash reporting
Monetization
in_app_purchase In-app purchases
purchases_flutter RevenueCat integration

🏗 Project Structure

lib/
├── constants/         # App constants and configurations
├── environment/       # Environment variables and config files
├── extensions/        # Extension methods and helpers
├── features/          # Feature modules
│   ├── common/
│   ├── authentication/
│   ├── home/
│   ├── onboarding/
│   ├── profile/
│   ├── premium/
├── routing/           # Route configurations
├── theme/             # Theme configurations
└── utils/             # Utility functions

🚀 Getting Started

  1. Clone this repository

    git clone https://github.com/namanh11611/flutter_mvvm_riverpod.git
    
  2. Install dependencies

    flutter pub get
    
  3. Generate localization files

    dart run easy_localization:generate -f keys -o locale_keys.g.dart --source-dir assets/translations
    
  4. Generate code

    dart run build_runner build --delete-conflicting-outputs
    
  5. Change the app information

    • To change the app package name, run the following command:
    dart run change_app_package_name:main com.new.package.name
    
    • To change the Android app name, open the android/app/src/main/AndroidManifest.xml file, change the android:label="New App Name"
    • To change the iOS app name, open the ios/Runner/Info.plist file, change the CFBundleDisplayName to New App Name
    • To change the iOS bundle name, open the ios/Runner/Info.plist file, change the CFBundleName to new_bundle_name
  6. Run the app

    flutter run
    

📱 Screenshots

Light Hero Light Profile Dark Hero Dark Profile
Hero Light Profile Light Hero Dark Profile Dark

🤝 Contributing

Contributions, issues, and feature requests are welcome!

📝 License

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

⭐ Star History

Star History Chart

Nam Anh Nguyen GitHub avatar
GitHub 作者

Nam Anh Nguyen ↗

Software Engineer

Hanoi
語言DartC++CMakeSwiftRubyCHTMLKotlinObjective-C

分類

使用的依賴

依賴清單 51 項

所在榜單

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗