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. - Github Search - an example of how to create a Github Search Application using the
bloc
andflutter_bloc
packages.
- 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.
- Github Search - an example of how to create a Github Search Application and share code between Flutter and AngularDart.
- 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.
- code sharing with bloc - How to share code between a mobile application written with Flutter and a web application written with AngularDart.
- VSCode - extends VSCode with support for the Bloc library and provides tools for effectively creating Blocs for both Flutter and AngularDart apps.