problem when upgrade Flutter version 2.0.0 to use
JARNBOY opened this issue · 1 comments
JARNBOY commented
In Function and Widget deceparate can't not work to use widget instead please guide me.
JARNBOY commented
Ok so some of the package in the project needs a minimum SDK version to be 2.2.2 so all you have to do is to change it in your project
In the root folder of your project, open pubspec.yaml, find sdk: ">=2.1.0 <3.0.0" in it and change it to sdk: ">=2.2.2 <3.0.0". Just change that, run flutter clean in the terminal on your project directory and try to run your app.