Patiee
Patiee

Reputation: 125

Is there any way to undo 'flutter clean'

I did a stupid mistake unknowingly and now i've got like 1k+ errors after running the command flutter clean

Is there any way to undo this.

Deleting build...                                                  606ms
Deleting .dart_tool...                                              7.3s
Deleting .packages...                                               28ms
Deleting Generated.xcconfig...                                       3ms
Deleting flutter_export_environment.sh...                            1ms
Deleting .flutter-plugins-dependencies...                            1ms
Deleting .flutter-plugins...                                         1ms

Upvotes: 2

Views: 7094

Answers (2)

Arijeet
Arijeet

Reputation: 1223

Just run flutter pub get and you'll be good to go.

Upvotes: 3

Pathik Patel
Pathik Patel

Reputation: 1490

Run flutter pub get, it'll reload the packages

Upvotes: 12

Related Questions