Rather than waiting for the OS list to load, when the app starts, the loads them in the background, and only waits if we reach the list of available downloads without them loaded yet. In this case, we use a FutureBuilder to display a loading spinner until the list is ready. |
||
---|---|---|
.. | ||
src | ||
main.dart |