Daunused
A Dart package that checks for unused files in your project.
Installation
Add the following dependency to your pubspec.yaml
:
dev_dependencies6.0
Run the checker
flutter pub run daunused:daunused.dart ROOT_FOLDER [EXCEPTION1 EXCEPTION2 ...]
For example:
flutter pub run daunused:daunused.dart . lib/main.dart