Block Pattern Archives - Page 2 of 2 - Tutorial Rays

Block Pattern

Block Pattern

Part 5 – Flutter BLoC Tutorial: Event-Based BLoC with Events, States & emit()

🧠 What is Event-Based BLoC? Unlike Cubit, the BLoC pattern uses events to trigger state changes, making it ideal when: ✅ You have multiple event types ✅ You want to.

Read More
Block Pattern

Part 4 – Flutter BLoC Tutorial: Working with Cubit (Simplified BLoC) in Flutter

🧱 What is a Cubit? Cubit is a lightweight version of BLoC that allows you to emit new states directly without defining separate events. It’s ideal for simple to moderately.

Read More
Block Pattern

📘 2. Getting Started with Flutter BLoC

🔍 What is the BLoC Pattern? The BLoC (Business Logic Component) pattern is a state management architecture designed to separate your application’s business logic from the UI layer. It helps.

Read More