daunused 1.8.1
daunused: ^1.8.1 copied to clipboard
A Dart package that checks for unused files in your project.
Daunused #
A Dart package that checks for unused files in your project.
Installation #
Add the following dependency to your pubspec.yaml:
dev_dependencies 1.8.1
Run the checker
flutter pub run daunused:daunused.dart ROOT_FOLDER [EXCLUDED_FILE_1, EXCLUDED_FILE_2 ...] [EXCLUDED_FUNCTION_1, EXCLUDED_FUNCTION_2 ...]
For example:
flutter pub run daunused:daunused.dart lib "lib/main.dart,utils/*" "==,build"