AI Features
Log In
0% completed
All Lessons
Free Lessons (5)
Getting Started
Introduction to the Course
Managing States with BLoC Pattern
What Is State Management?
What is BLoC Pattern?
Quiz: Basics of State Management
Implementing BLoC Pattern
Streams
Events and States
StreamController
Putting BLoC Concepts to Use
BLoC Pattern and Libraries
Exercise Your BLoC Implementation Skills
Quiz: BLoC Patterns
Flutter BLoC Library Widgets
BlocProvider and MultiBlocProvider
BlocBuilder and BlocSelector
BlocListener
BlocConsumer
RepositoryProvider and MultiRepositoryProvider
Bloc and Cubit
Quiz: Bloc Library Widgets
Project #1: Getting to Know the Flutter BLoC Library
Project #1 Statement
Project Structure
Brief on the UI
Implementing BLoC States
Implementing BLoC Events
Connecting Events and States
Integrating BLoC in the UI
Exercise: Implementing a Search Feature
Solution: Implementing a Search Feature
Project #2: Implementing Repository Pattern using BLoC Library
Project #2 Statement
Project #2 Structure
The Repository Pattern
User Cubit
Home Cubit
Exercise: Implementing the Shopping Cart
Solution: Implementing the Shopping Cart
Flutter BLoC Testing
Creating Mocks for Blocs
Generating Unit Tests
Exercise: Testing ShoppingCartCubit
Solution: Testing ShoppingCartCubit
RxDart
Difference between flutter_bloc Library and RxDart
Stream Classes
Extension Methods
Subjects
Quiz: Stream Classes, Extension Methods, and Subjects
Best Practices
Use BLoC for Every Screen
Keep the BLoC Simple
Challenges
Exercise: Build a Tic-Tac-Toe Game Using Flutter BloC
Solution: Build a Tic-Tac-Toe Game using Flutter BLoC
Exercise: Build a Stopwatch Using RxDart
Solution: Build a Stopwatch Using RxDart
What's Next?
Project Ideas to Train Your Skills
More State Management Libraries to Check Out
Appendix
Appendix A: Flutter Resources
Appendix B: Authenticating with Firebase
Home
Courses
Managing State in Flutter Using BLoC Pattern
Exercise Your BLoC Implementation Skills
Test your BLoC pattern implementation skills in this exercise
We'll cover the following...
Problem statement
...