Loading FutureProviders in Isolate #1299
Unanswered
muhammadsqln
asked this question in
Q&A
Replies: 1 comment
-
You can use Flutter's compute function inside a FutureProvider. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have an app for managing a crew's timesheet where we allocate each crew member's time to activities that they worked on a day to say basis.
All the data I pull for each day is coming from a FutureProvider.
This data is large and so I would like to load this data before even getting to the screen so that it's readily available once the user lands there. I want to load it (and other FutureProviders) in the background using an Isolate. How would I go about doing this?
Beta Was this translation helpful? Give feedback.
All reactions