BLoC for Beginners 📱 State Management • Flutter Tutorial

Published: 26 August 2024
on channel: Mitch Koko
38,983
1.5k

🔥📱 My Habit Tracker: https://ritualz.app
💳📱 My Expense Tracker: https://dollatracker.app

🥷🏽 FOLLOW ME
Patreon:   / mitchkoko  
Instagram:   / createdbykoko  
Twitter:   / createdbykoko  
TikTok:   / createdbykoko  

~;

BLoC: https://bloclibrary.dev/
Package: https://pub.dev/packages/flutter_bloc

I will teach you the basics of BLoC state management. BLoC (Business Logic Component) is a design pattern used in Flutter for state management. It helps separate the business logic from the UI, making the code more modular, reusable, and testable.

~;

⌚️ TIMESTAMPS
0:00 Intro
0:51 Cubit
2:39 BlocProvider (provides cubit to UI)
3:40 BlocBuilder (UI)
6:50 BlocListener (reacts to state changes)

~;

✏️ Whiteboard app I use: https://app.eraser.io/