https://github.com/devopsthinh/bloc-design-patterns
Apps Development with Flutter
https://github.com/devopsthinh/bloc-design-patterns
basic-bloc bloc bloc-library bloc-pattern blocs-firestore bussiness-logic-component dart dependency-injection flutter flutter-examples flutter-state-management improvised-bloc mobile-clean-architecture mobile-development production-ready-apps
Last synced: 3 months ago
JSON representation
Apps Development with Flutter
- Host: GitHub
- URL: https://github.com/devopsthinh/bloc-design-patterns
- Owner: DevOpsThinh
- Created: 2021-07-17T19:18:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T15:55:06.000Z (about 2 years ago)
- Last Synced: 2025-01-23T00:13:35.661Z (5 months ago)
- Topics: basic-bloc, bloc, bloc-library, bloc-pattern, blocs-firestore, bussiness-logic-component, dart, dependency-injection, flutter, flutter-examples, flutter-state-management, improvised-bloc, mobile-clean-architecture, mobile-development, production-ready-apps
- Language: Dart
- Homepage:
- Size: 222 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 :wave:
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)For help getting started with Flutter, view our:
- [online documentation](https://flutter.dev/docs), 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](https://www.routledge.com/Pragmatic-Flutter-Building-Cross-Platform-Mobile-Apps-for-Android-iOS/Tyagi/p/book/9780367612092)
- [Beginning Flutter: A Hands On Guide to App Development](https://www.wiley.com/en-sg/Beginning+Flutter%3A+A+Hands+On+Guide+to+App+Development-p-9781119550853)
- [Flutter Complete Reference](https://fluttercompletereference.com/buy)
- [Managing State in Flutter Pragmatically](https://www.packtpub.com/product/managing-state-in-flutter-pragmatically/9781801070775)## Notes :cook:
- 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 :handshake:
:star: Please give me a STAR! :star: