Riverpod Crash Course #3 - Providers
HTML-код
- Опубликовано: 22 апр 2024
- In this Riverpod tutorial series, you'll learn how to use Riverpod providers to manage state in Flutter applications.
🚀🔥🥷🏼Get access to premium courses on Net Ninja Pro:
netninja.dev/
📂🥷🏼 Access the course files on GitHub:
github.com/iamshaunjp/flutter...
💻🥷🏼 Flutter Masterclass:
netninja.dev/p/flutter-master...
💻🥷🏼 Flutter Crash Course:
• Flutter Crash Course #...
🔗🥷🏼 VS Code - code.visualstudio.com/
So if I wanted to read the Persons from external resource e.g. from a REST endpoint, would I call that endpoint from this provider or somewhere else?
Thanks for sharing these. Really good videos and topics.
I think You should call your rest api wherever you need (pull to refresh ? Button ? Regular poll ?) and then update your provider data.
brother please make a video on provider state management