appcraft_unused_assets 0.0.1
appcraft_unused_assets: ^0.0.1 copied to clipboard
Finds assets that nothing references, by the accessors generated by flutter_gen rather than by string literals of their paths.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate appcraft_unused_assetsUse it
The package has the following executables:
$ appcraft_unused_assets
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add appcraft_unused_assetsWith Flutter:
$ flutter pub add appcraft_unused_assetsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
appcraft_unused_assets: ^0.0.1Alternatively, 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:appcraft_unused_assets/appcraft_unused_assets.dart';