Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.89 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.89 KB

BLoC Design Patterns in Applications Development with Flutter

Exploring BLoC Pattern to manage states in Flutter applications
Version: 1.0.1
Author (Learn & Share): Nguyen Truong Thinh

References 👋

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our:

  • online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

To help grasp our project's source code:

Notes 🧑‍🍳

  • BLoC - Business Logic Component: is a design pattern to facilitate data flow to Flutter Widgets & vice versa.
    The BLoC receives streams of the event(s) from data sources and/ or widgets, perform business logic on events received and emits corresponding states.
  1. Basic BLoC Pattern: Use Dart's built-in data types to manages the state
  2. Improvised BLoC Pattern: Create classes representing event(s) and state(s)
  3. BLoC Library: Use the flutter_bloc library to implement the BLoC pattern.

Improve us 🤝

⭐ Please give me a STAR! ⭐