dart_unused_files 1.0.0 copy "dart_unused_files: ^1.0.0" to clipboard
dart_unused_files: ^1.0.0 copied to clipboard

A Dart CLI tool that scans your Flutter or Dart project to find unused .dart files that can be safely removed.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dart_unused_files

Use it

The package has the following executables:

$ dart_unused_files

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_unused_files

With Flutter:

 $ flutter pub add dart_unused_files

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_unused_files: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_unused_files/dart_unused_files.dart';
16
likes
150
points
172
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart CLI tool that scans your Flutter or Dart project to find unused .dart files that can be safely removed.

Repository (GitHub)
View/report issues

Topics

#dart #flutter #unused #files #lints

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

args, mason_logger, path

More

Packages that depend on dart_unused_files