Skip to content

DevOpsThinh/BLoC-Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! ⭐