Reading state of FutureProvider inside that provider. #3928
-
In
This allows me to refresh some of my Future providers based on some events (here coming from Since
Do I need to go towards some sort of caching the state in the provider's build function using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should convert your FutureProvider into an AsyncNotfiier ; then use an extension on AsyncNotifier instead. |
Beta Was this translation helpful? Give feedback.
You should convert your FutureProvider into an AsyncNotfiier ; then use an extension on AsyncNotifier instead.