Flutter: delete generated files

Viewed 342

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?

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

Related