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
CounterBloc
to implement the classic Flutter Counter app. - Login Flow Example - an example of how to use the
bloc
andflutter_bloc
packages to implement a Login Flow. - Infinite List Example - an example of how to use the
bloc
andflutter_bloc
packages to implement an infinite scrolling list.
- Counter Example - an example of how to use a
CounterBloc
in an AngularDart app. - Github Search - an example of how to create a Github Search Application using the
bloc
andangular_bloc
packages.
- 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.
- flutter infinite list tutorial with flutter_bloc package - How to create an infinite list using the bloc and flutter_bloc packages.