Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevsbuddy/flutter_fusion
A modular structured Flutter GetX MVC starter project to easily start flutter app development and ship your app faster.
https://github.com/thedevsbuddy/flutter_fusion
flutter getx modular mvc mvc-pattern
Last synced: 1 day ago
JSON representation
A modular structured Flutter GetX MVC starter project to easily start flutter app development and ship your app faster.
- Host: GitHub
- URL: https://github.com/thedevsbuddy/flutter_fusion
- Owner: thedevsbuddy
- Created: 2021-08-11T18:58:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T12:24:49.000Z (6 months ago)
- Last Synced: 2024-05-01T14:26:34.964Z (6 months ago)
- Topics: flutter, getx, modular, mvc, mvc-pattern
- Language: Dart
- Homepage: https://devsbuddy.com
- Size: 605 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlutterFusion
A starter project to begin any new flutter project.
It has the `GetX` package and some more custom helpers and packages to help the dev to build their apps with ease.
It uses the `MVC` pattern which is one of the best pattern among developers.### Getting Started
Clone the repository
```shell
git clone https://github.com/thedevsbuddy/flutter_fusion.git my_awesome_project
```#### Want to use without `ThemeBuilder` option.
```shell
git clone https://github.com/thedevsbuddy/flutter_fusion.git my_awesome_project --branch without_theme_builder
```
### FeaturesHere are some awesome features which you will get by default when scaffolding your project with this starting project.
- **MVCs Pattern**: We are using `MVC` pattern to manage whole project easily as it separates the Logic and UI and models. But i added new layer as Service which will help us communicate with APIs.
- **Modular Structure**: Most of the developers are the fan of Modular Structure as it gives the flexibility to use a module on any project we build.
- **Module Generator Tool**: I have built a simple module generator tool to help you generate any module with just a single command.
- **Mock-Able Services**: Sometimes we don't have any api to test and build our apps so we need to do some mockups for apps here we cover that as well.## New features
#### Modulr Package - Generate modules in the project
This package is added as a helper toolkit to generate the module in the project with just a command
line.### Generate Module
```shell
flutter pub run modulr:generate Blog
```This will generate all the files required for a `Module`
Generated Files Inside your project's `lib/app/modules` directory.
```txt
📂 Blog
├── 📂 controllers
│ └── 📄 BlogController.dart
├── 📂 routes
│ ├── 📄 BlogRouter.dart
│ └── 📄 BlogRoutes.dart
├── 📂 services
│ ├── 📄 AppBlogService.dart
│ ├── 📄 BlogService.dart
│ └── 📄 MockBlogService.dart
├── 📂 views
│ └── 📄 BlogPage.dart
└── 📄 BlogModule.dart
```### Generate Controller
```shell
flutter pub run modulr:controller Comment --on=Blog
```This will generate the new controller (`CommentController.dart`) inside the `Blog` Module.
```txt
📂 Blog
├── 📂 controllers
│ ├── 📄 BlogController.dart
│ └── 📄 CommentController.dart
```### Generate Service
```shell
flutter pub run modulr:service Comment --on=Blog
```If any module doesn't have services already you can generate services for the module using this command.
Generated Files:
```txt
📂 Blog
├── 📂 services
│ ├── 📄 AppCommentService.dart
│ ├── 📄 CommentService.dart
│ └── 📄 MockCommentService.dart
```**_Note: This will check for the services directory inside the provided module name. if it exists it wont generate any file and return void._**