dears, I cloned a simple project from Git hub .
It shows me a tons of error such as Flatt button,
is there any solution to use and lunch this project in Vscode.? or I should renew each peace of code which is deprecated?
here is the example: git address:
(gh repo clone asjqkkkk/flutter-todos)
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
If your flutter version is 3.x.x than
FlatButton
andRaisedButton
are deprecated. You have to switch them withOutlinedButton
. Here is well explained answer.1.first clean your project using
flutter clean
.2.after that run
flutter pub get
.3.buid your app