Skip to content

Jules-Media/Bloc_Implementation

Repository files navigation

Bloc Implementation

Github: https://github.com/Jules-Media/Bloc_Implementation
Pub.dev: https://pub.dev/packages/bloc_implementation

Features

This Package helps you implement the Bloc Pattern.
The BLoC (Buisness Logic Component) Pattern is a Pattern recommmended by Google Developers to use in your Flutter Projects. The BLoC Pattern uses Streams and Sinks to exchange Information between two Widgets, that have no other Connection. This is especially useful if you extract your widgets and as a consequence have a ton of widgets for a single Screen.

Getting started

Get the package and your ready to start. It's that easy

Usage

The BlocParent Class is something like the BlocProvider in other Packages. The Bloc is an abtract class / interface you can implement into your Blocs.

Example:

final _bloc = Bloc();

Additional information

This Package helps you implement the Bloc Pattern used in Flutter. Bloc stands for Buisness Logic Component

© Julian Schumacher 2022