armaanjamadar/mvvm-riverpod-movies-app
一个Flutter项目,演示了在实际应用中使用MVVM架构和Riverpod状态管理,帮助开发者理解如何构建可扩展且可维护的Flutter应用。
- Stars
- 0
- Forks
- 0
- 最近推送(UTC)
- 2026年6月18日
- 项目状态
- 未归档
使用的依赖
依赖清单 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 分类
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
🎬 MVVM-Riverpod Movies App
App Icon
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 ⭐