MVVM-Riverpod 電影應用
一個Flutter專案,示範在實際應用中使用MVVM架構與Riverpod狀態管理,幫助開發者了解如何建立可擴展且可維護的Flutter應用程式。
- 星標
- 0
- 分支
- 0
- 最近推送(UTC)
- 2026年9月27日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
🎬 MVVM-Riverpod Movies App

A Flutter project demonstrating the MVVM architecture and Riverpod state management in a real-world application, to help developers understand how to build scalable and maintainable Flutter applications.
About
This is a Movies App built with clean architectural principles and serves as a practical reference for Flutter developers. It teaches you how to separate concerns across UI, business logic, and data layers using the MVVM architecture and manage state and data efficiently using Riverpod state management.
Features
| Feature | Description |
|---|---|
| 🏗️ MVVM Architecture | Clean separation of Model, View, and ViewModel layers |
| 💧 Riverpod State Management | Efficient and scalable state management throughout the app |
| 🎬 Movie Data | Display and manage movie listings |
| 🧩 Clean Architecture | Separation between UI, business logic, and data layers |
| 📁 Organized Structure | Well-structured project for easy navigation and scalability |
What You Will Learn
By exploring this source code, you will understand:
- ✅ How to structure a Flutter app using MVVM architecture.
- ✅ How to use Riverpod state management.
- ✅ How ViewModels manage application state and business logic.
- ✅ How to keep UI code clean and maintainable.
- ✅ How to implement the Repository for clean data access.
- ✅ How to create different types of Models.
- ✅ How to implement different conversion techniques.
- ✅ How to handle loading and error states properly.
- ✅ Best practices for scalable and enterprise-grade Flutter applications.
Getting Started
Prerequisites
- Flutter SDK installed
- An IDE such as VS Code or Android Studio
Installation
-
Clone the repository
git clone <repository-url> -
Navigate to the project directory
cd <project-folder> -
Install dependencies
flutter pub get -
Run the application
flutter run
Support
If you find this project helpful, please consider giving it a star ⭐
使用的依賴
依賴清單 10 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.8 - cached_network_image
^3.4.1 - get_it
^9.2.1 - flutter_dotenv
^6.0.0 - shared_preferences
^2.5.5 - http
^1.6.0 - flutter_riverpod
^3.3.1 - flutter_test開發依賴
{"sdk":"flutter"} - flutter_lints開發依賴
^6.0.0
App 分類
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗