Skip to content

Riverpod Notifier with build arguments

Just learned something fun and useful with Riverpod!

You can pass an argument to the build method, and it will be automatically accessible in all the other methods. 🤩

That’s because Riverpod Generator stores it as a property in the parent class. 👍

Previous Next
Cloud Firestore - Cache Size Pagination with FirestoreListView

Last update: 18 septembre 2023
Created: 18 septembre 2023