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. 👍
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
Cloud Firestore - Cache Size | Pagination with FirestoreListView |