Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter: delete generated files

Tags:

flutter

I cloned a git repo and it contains generated files. Is there a command to delete the generated files?

The project uses moor_generator, pubspec_generator and json_serializable.

What kind/format of files would I have to delete manually?

like image 246
IBlackVikingl Avatar asked Sep 17 '26 16:09

IBlackVikingl


1 Answers

if you just want to delete the files and regenerate new ones running the build command with delete flags works flutter packages pub run build_runner build --delete-conflicting-outputs

like image 62
griffins Avatar answered Sep 21 '26 05:09

griffins