A collection of packages that help implement the Bloc pattern.
| Package | Pub |
|---|---|
| bloc | |
| flutter_bloc | |
| angular_bloc |
The goal of this package is to make it easy to separate presentation from business logic, facilitating testability and reusability.
- Simple Counter Example - an example of how to create a
CounterBloc(pure dart).
- Simple Counter Example - an example of how to create a
CounterBlocto implement the classic Flutter Counter app. - Login Flow Example - an example of how to use the
blocandflutter_blocpackages to implement a Login Flow.
- Counter Example - an example of how to use a
CounterBlocin an AngularDart app. - Github Search - an example of how to create a Github Search Application using the
blocandangular_blocpackages.
- bloc package - An intro to the bloc package with high level architecture and examples.
- flutter login tutorial with flutter_bloc package - How to create a full login flow using the bloc and flutter_bloc packages.
- unit testing with bloc - How to unit test the blocs created in the flutter login tutorial.