|
| 1 | +# 🚀 Flutter Clean Architecture Template |
| 2 | + |
| 3 | +A clean, scalable, and maintainable **Flutter project template** using Clean Architecture. |
| 4 | + |
| 5 | +Starring ⭐ this repository if you find it useful! |
| 6 | + |
| 7 | +###### Contact for work, email: [email protected] |
| 8 | + |
| 9 | +<br> |
| 10 | + |
| 11 | +<img src="https://raw.githubusercontent.com/Flutter-Journey/.github/refs/heads/main/media/logo-icon.png" alt="App Logo" width="150"/> |
| 12 | + |
| 13 | +<br> |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +<a href="https://www.linkedin.com/in/chunhthanhde/"> |
| 20 | +<img src="https://img.shields.io/badge/Support-Recommend%2FEndorse%20me%20on%20Linkedin-blue?style=for-the-badge&logo=linkedin" alt="Support me on LinkedIn" /> |
| 21 | +</a> |
| 22 | + |
| 23 | +<a href="https://www.buymeacoffee.com/chunhthanhde" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a> |
| 24 | + |
| 25 | +## 🎯 Overview |
| 26 | + |
| 27 | +**Flutter Clean Architecture Template** provides a solid base structure for your Flutter projects. It follows Clean Architecture principles, promoting separation of concerns and maintainability. |
| 28 | + |
| 29 | +> Note: This template is designed for educational purposes and serves as a base for starting new Flutter projects. |
| 30 | +
|
| 31 | +<!-- ## 🖥️ Features (TODO) |
| 32 | +
|
| 33 | +- **Feature 1**: |
| 34 | +- **Feature 2**: --> |
| 35 | + |
| 36 | +<!-- ## 🎨 Figma Design (Optional) |
| 37 | +
|
| 38 | +- [Design Reference](https://www.figma.com/community/file/example-link) --> |
| 39 | + |
| 40 | +## 🛠️ Technologies Used |
| 41 | + |
| 42 | +| **Library** | **Purpose** | |
| 43 | +| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 44 | +| **flutter_bloc** | A library for implementing the BLoC (Business Logic Component) pattern in Flutter apps, helping manage app state efficiently. | |
| 45 | +| **hydrated_bloc** | An extension of `flutter_bloc` that allows persisting the BLoC state across app restarts, retaining data even after the app is closed. | |
| 46 | +| **path_provider** | A Flutter plugin used to find the correct paths for storing files on the device, helping identify directories for documents, temporary storage, and external storage. | |
| 47 | +| **get_it** | A service locator for Dart and Flutter, making dependency injection easy and simplifying object management across different parts of an app. | |
| 48 | +| **dartz** | A functional programming library for Dart that provides features like Option, Either, and Tuple to improve handling of nullable values and side effects in code. | |
| 49 | + |
| 50 | +## 🔧 Setup and Installation |
| 51 | + |
| 52 | +1. Clone the repository: |
| 53 | + |
| 54 | +```bash |
| 55 | + git clone https://github.com/Flutter-Journey/Flutter-Clean-Template.git |
| 56 | +``` |
| 57 | + |
| 58 | +2. Navigate to the project directory: |
| 59 | + |
| 60 | +```bash |
| 61 | + cd Flutter-Clean-Template |
| 62 | +``` |
| 63 | + |
| 64 | +3. Install dependencies: |
| 65 | + |
| 66 | +```bash |
| 67 | + flutter pub get |
| 68 | +``` |
| 69 | + |
| 70 | +4. Run the app: |
| 71 | + |
| 72 | +```bash |
| 73 | + flutter run |
| 74 | +``` |
| 75 | + |
| 76 | +## 📸 Screenshots |
| 77 | + |
| 78 | +| Get Start Screen | Choose Mode (Light) Screen | Choose Mode (Dark) Screen | |
| 79 | +| -------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------- | |
| 80 | +|  |  |  | |
| 81 | + |
| 82 | +| Sign In Screen | Sign Up Screen | Profile Screen | |
| 83 | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | |
| 84 | +|  |  |  | |
| 85 | + |
| 86 | +## ⭐ Star History |
| 87 | + |
| 88 | +<div align="center"> |
| 89 | + |
| 90 | +<a href="https://star-history.com/#Flutter-Journey/Flutter-Clean-Template&Date"> |
| 91 | + <picture> |
| 92 | + <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Flutter-Journey/Flutter-Clean-Template&type=Date&theme=dark" /> |
| 93 | + <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Flutter-Journey/Flutter-Clean-Template&type=Date" /> |
| 94 | + <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Flutter-Journey/Flutter-Clean-Template&type=Date" /> |
| 95 | + </picture> |
| 96 | +</a> |
| 97 | + |
| 98 | +#### Made by Flutter <img src="https://raw.githubusercontent.com/Flutter-Journey/.github/refs/heads/main/media/flutter_icon.png" height="15"> with Love ❤️ | Developed by [ChunhThanhDe](https://github.com/chunhthanhde) |
| 99 | + |
| 100 | +</div> |
0 commit comments