assets_optimizer 1.0.3 copy "assets_optimizer: ^1.0.3" to clipboard
assets_optimizer: ^1.0.3 copied to clipboard

A powerful CLI tool that magically shrinks your app size by optimizing images with a single command

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate assets_optimizer

Use it

The package has the following executables:

$ assets_optimizer

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add assets_optimizer

With Flutter:

 $ flutter pub add assets_optimizer

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

dependencies:
  assets_optimizer: ^1.0.3

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:assets_optimizer/assets_optimizer.dart';
1
likes
140
points
27
downloads

Publisher

verified publisherhbosoftware.com

Weekly Downloads

A powerful CLI tool that magically shrinks your app size by optimizing images with a single command

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, image, image_compression, logger, path, yaml

More

Packages that depend on assets_optimizer