All .gitignore files inside the package.
.gitignore
Iterable<File> get gitignores => root .listSync(recursive: true) .whereType<File>() .where((file) => basename(file.path) == '.gitignore');