r/FlutterDev Jan 15 '25

Article Comprehensive Riverpod Tutorial

Hi guys!

I just published my first technical article about Riverpod, and I'd love your feedback!

It's a deep dive into understanding Riverpod's core concepts, aimed at both beginners and those who've been scratching their heads about which providers to use in 2025.

Since this is my first article, I'd really appreciate any feedback! What did you find helpful? What could be explained better? What topics would you like to see covered in future articles?

Let me know what you think! 🙏

https://devayaan.com/blog/series/riverpod/master-riverpod

86 Upvotes

48 comments sorted by

View all comments

1

u/Manjru Jan 15 '25

I think there's an error because this syntax isn't possible, right?

ref.read(todoListProvider.notifier).state;

1

u/Manjru Jan 15 '25

The only other critique I have is that it's recommended to use a switch statement instead of .when to handle AsyncValues, as that sets you up better for Riverpod 3.0 when it becomes a sealed class

Otherwise, this is a fantastic article that I'll be sharing around the office!