How to hide generated dart files in Android Studio

Viewed 2370

Is it possible to hide generated dart files in Android Studio especially *.g.dart files?

2 Answers

In Settings panel, open Editor section, and select File Types. Now look for Ignore files and folders field at the bottom. Just include *.g.dart there and you're good to go!

In Project panel, under Options there is a File Nesting Option. I added .chopper.dart; .freezed.dart; .g.dart to .dart parent. This will group related files under the main file.

Related