unused_assets_removal 0.0.6 copy "unused_assets_removal: ^0.0.6" to clipboard
unused_assets_removal: ^0.0.6 copied to clipboard

A CLI tool to detect and optionally delete unused asset files in your Flutter project, helping you reduce app size and clean up unnecessary files.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate unused_assets_removal

Use it

The package has the following executables:

$ unused_assets_removal

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add unused_assets_removal

With Flutter:

 $ flutter pub add unused_assets_removal

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

dependencies:
  unused_assets_removal: ^0.0.6

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:unused_assets_removal/unused_assets_remover.dart';
2
likes
130
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to detect and optionally delete unused asset files in your Flutter project, helping you reduce app size and clean up unnecessary files.

Repository (GitHub)

Topics

#flutter #cli #assets #cleanup #optimization

Documentation

API reference

License

MIT (license)

Dependencies

args, path

More

Packages that depend on unused_assets_removal