Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wem2017/flutter_bloc_boilerplate


https://github.com/wem2017/flutter_bloc_boilerplate

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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.