Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kaboc/flutter_examples_mentalcalc

Flutter example projects using BLoC and Scoped Model patterns
https://github.com/kaboc/flutter_examples_mentalcalc

bloc dart examples flutter provider

Last synced: 3 days ago
JSON representation

Flutter example projects using BLoC and Scoped Model patterns

Awesome Lists containing this project

README

        

# Flutter example projects using BLoC and Scoped Model patterns

This repository contains examples used in my articles below:

* [長めだけどたぶんわかりやすいBLoCパターンの解説](https://qiita.com/kabochapo/items/8738223894fb74f952d3)
* [BLoCパターンの問題点とScoped Modelとの比較](https://qiita.com/kabochapo/items/2b992cc00e9f464c1ea9)

## Examples

* bloc
* An example of the BLoC pattern.

* ~~bloc2~~
* Removed.

* bloc3
* An example of the BLoC pattern powered by the [provider](https://pub.dev/packages/provider) package.

* bloc4
* An example of the BLoC pattern with less complicated BLoC powered by the [provider](https://pub.dev/packages/provider) package.

* bloc5
* A more practical example of the BLoC pattern with multiple blocs and the business logic separated from the blocs.

* scoped
* An example of the Scoped Model pattern powered by the [scoped_model](https://pub.dev/packages/scoped_model) package.

* scoped2
* An example of the Scoped Model pattern powered by the [provider](https://pub.dev/packages/provider) package.

* bloc6 (cubit)
* A [cubit](https://pub.dev/packages/bloc) version of bloc5.