After upgrading flutter with flutter upgrade
to 3.10
All my (previously working) Futures stopped working. Every single future is underlined with red saying "Future isn’t a type".
What can I do to fix this? Clearly Future hasn’t been removed.
After upgrading flutter with flutter upgrade
to 3.10
All my (previously working) Futures stopped working. Every single future is underlined with red saying "Future isn’t a type".
What can I do to fix this? Clearly Future hasn’t been removed.
2
Answers
Flutter clean
Flutter pub get
I think that will work for You
This was happing to me too after upgrade to 3.10.
I am using VS Code. After opening with Android Studio, I was able to build it without any problem.
Going back to VS Code, and it starts to work again. 😃