painter_from_svg 0.0.2 copy "painter_from_svg: ^0.0.2" to clipboard
painter_from_svg: ^0.0.2 copied to clipboard

A Flutter CLI for generating icon files based on CustomPainter for `.svg` files.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate painter_from_svg

Use it

The package has the following executables:

$ generate_icons

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add painter_from_svg

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

dependencies:
  painter_from_svg: ^0.0.2

Alternatively, 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:painter_from_svg/generate_custom_icons_file.dart';
import 'package:painter_from_svg/generate_single_icon.dart';
import 'package:painter_from_svg/svg_parsing.dart';
2
likes
140
points
16
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter CLI for generating icon files based on CustomPainter for `.svg` files.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, code_builder, dart_style, flutter, glob, path, xml, yaml

More

Packages that depend on painter_from_svg