Basically I am trying to make an app whose content will be updated with an async function that takes information from a website, but when I do try to set the new state, it doesn
I'm unsure why this happens when calling setState(...) in an async function, but one simple solution is to use:
setState(...)
WidgetsBinding.instance.addPostFrameCallback((_) => setState(...));
instead of just setState(...)