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

Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate svg_to_font_convertor

Use it

The package has the following executables:

$ generator

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add svg_to_font_convertor

With Flutter:

 $ flutter pub add svg_to_font_convertor

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

dependencies:
  svg_to_font_convertor: ^0.0.2

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_to_font_convertor/svg_to_font_convertor.dart';
1
likes
135
points
16
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, collection, dart_style, logger, meta, path, path_parsing, recase, vector_math, xml, yaml

More

Packages that depend on svg_to_font_convertor