~/talk

Flutter State Smackdown: Comparing BLoC, Provider, Riverpod

Talkat Fluttercon India 2025 · on Sunday, 2025-12-14· [frontend-architecture, flutter]
links:none on file
slides:none on file

A small water‑tracker app is built and run with three state systems side‑by‑side: a counter that changes in +400 ml increments and shows current ML versus goal across grid/gallery/board views. Provider is implemented with ChangeNotifier and hits unwanted rebuilds and spaghetti state for larger screens. BLoC uses explicit events and emits states for predictable behavior and scales to enterprise. Riverpod uses StateNotifier, autoDispose and compile‑time safety; forget to dispose streams and overwrapping providers still leaks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47State management matters
  3. 3:52SetState, Provider, BLoC, Riverpod
  4. 5:38Provider deep dive
  5. 9:53Provider pros and cons
  6. 10:18BLoC pattern benefits
  7. 11:48BLoC in water tracker
  8. 13:56When to choose BLoC
  9. 14:17Riverpod modern solution
  10. 15:51Riverpod in demo
  11. 17:18Riverpod pros and cons
  12. 18:25State management pitfalls
  13. 20:32Choosing the right approach
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.