I'm relatively new to flutter. There seems to be huge amounts of people who are starting to work with flutter and who have not heard of the async
/await
concepts either in flutter or in other languages (you can call it a Task<T>
or a Promise<T>
or a Future<T>
but the concept is always the same).
Of any amount of questions I read, 50% seem to be about:
I have a Future<SomeThing> and I cannot use it like a SomeThing.
I have looked for dupe targets and sometimes I found some, but often the other questions with good answers are very specific and people might not see that they talk about the common problem of async
/await
and Future<>
, because one might focus on SharedPreferences
another one on a REST call, a third one on a database or FireStore call and the abstraction, that it's basically all the same, might not be reachable for someone who has no experience with this topic.
So before I write one myself, my question is:
Did I miss a canonical post for this? Is there some Q/A I should be using as a dupe target?