A must watch for Riverpod users. Pro tips on using AsyncValue with StateNotifier to improve your code's readability and safety. The video starts with a primer on FutureProvider and AsyncValue, and then goes into detail on how to use AsyncValue with a StateNotifier and proper error handling.
--
Riverpod Tutorials and code:
https://github.com/funwithflutter/riv...
--
Check out my Flutter Animation and Performance course.
Discounted link: https://bit.ly/funwithcourse
Or use the promo code: FUN
for a discount at checkout: https://courses.funwith.app
--
Join me on the socials.
Twitter: / gordonphayes
---
Chapters:
0:00 Intro
0:40 AsyncValue and FutureProvider Primer
7:37 Code Overview
9:55 Overrides for Mock Classes
11:04 State Notifier with AsyncValue
16:17 Handling Exceptions
22:00 Next up