Exploring BLoC Pattern
to manage states in Flutter
applications
Version: 1.0.1
Author (Learn & Share): Nguyen Truong Thinh
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:
- Pragmatic Flutter: Building Cross-Platform Mobile Apps for Android, iOS, Web & Desktop
- Beginning Flutter: A Hands On Guide to App Development
- Flutter Complete Reference
- Managing State in Flutter Pragmatically
- 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.
- Basic BLoC Pattern: Use Dart's built-in data types to manages the state
- Improvised BLoC Pattern: Create classes representing event(s) and state(s)
- BLoC Library: Use the
flutter_bloc
library to implement the BLoC pattern.
⭐ Please give me a STAR! ⭐