asset_wizard 0.2.1
asset_wizard: ^0.2.1 copied to clipboard
A magical Flutter CLI tool that compresses images, removes unused assets, generates type-safe classes, creates ZIP backups and shrinks your app size in seconds.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate asset_wizardUse it
The package has the following executables:
$ ak
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add asset_wizardThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
asset_wizard: ^0.2.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:asset_wizard/asset_wizard.dart';