Daunused

A Dart package that checks for unused files in your project.

Installation

Add the following dependency to your pubspec.yaml:

dev_dependencies:
  daunused: ^1.2.0

Run the checker

flutter pub pub run daunused:daunused.dart ROOT_FOLDER [EXCEPTION1 EXCEPTION2 ...]

For example:

flutter pub pub run daunused:daunused.dart . lib/main.dart

Libraries

daunused