svg_optimizer 0.0.1+1 copy "svg_optimizer: ^0.0.1+1" to clipboard
svg_optimizer: ^0.0.1+1 copied to clipboard

A Dart package that optimizes SVG files at build time using SVGO.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add svg_optimizer

With Flutter:

 $ flutter pub add svg_optimizer

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

dependencies:
  svg_optimizer: ^0.0.1+1

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:svg_optimizer/svg_optimizer.dart';
11
likes
160
pub points
45%
popularity
screenshot

Publisher

verified publisherthedroidsonroids.com

A Dart package that optimizes SVG files at build time using SVGO.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, collection, yaml_edit

More

Packages that depend on svg_optimizer