Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wem2017/flutter_bloc_boilerplate
https://github.com/wem2017/flutter_bloc_boilerplate
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wem2017/flutter_bloc_boilerplate
- Owner: wem2017
- Created: 2021-03-15T08:21:08.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T05:27:16.000Z (over 3 years ago)
- Last Synced: 2024-08-01T19:37:20.830Z (6 months ago)
- Language: Dart
- Size: 4.87 MB
- Stars: 69
- Watchers: 6
- Forks: 33
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-list - flutter_bloc_boilerplate
README
# Boilerplate Project
A boilerplate project created in flutter using Bloc. Boilerplate supports build mobile apps to faster.
## Getting Started
The Boilerplate contains the minimal implementation required to create a new library or project. boilerplate use for build app [SaleBolt](https://apps.apple.com/us/app/salebolt-sales-tracke-r/id1526910309)
![alt text](https://github.com/wem2017/flutter_bloc_boilerplate/blob/master/screenshot/overview.png?raw=true)
![alt text](https://github.com/wem2017/flutter_bloc_boilerplate/blob/master/screenshot/qrcode.png?raw=true)
## How to Use
**Step 1:**
Download or clone this repo by using the link below:
```
https://github.com/wem2017/flutter_bloc_boilerplate.git
```**Step 2:**
Go to project root and execute the following command in console to get the required dependencies:
```
flutter pub get
```**Step 3:**
Open with Editer VSCode or Android Studio and run
## Boilerplate Features:
* SplashScreen
* Login
* Home
* Routing
* Theme
* Dio
* Database
* Validation
* Logging
* Multiple Theme, Dark Theme, Custom Colors
* Multiple language
* Multiple font
* CI/CD github action### Folder Structure
Here is the core folder structure which flutter provides.```
flutter_bloc_boilerplate/
|- android
|- build
|- ios
|- lib
```Here is the folder structure we have been using in this project
```
lib/
|- api/
|- blocs/
|- configs/
|- database/
|- models/
|- repositorys/
|- screens/
|- utils/
|- widgets/
```## Conclusion
I will be happy to answer any questions that you may have on this approach, and if you want to lend a hand with the boilerplate then please feel free to submit an issue and/or pull request π
Again to note, this is example can appear as over-architectured for what it is - but it is an example only. If you liked my work, donβt forget to β star the repo to show your support.