icon_font_generator 4.0.0 copy "icon_font_generator: ^4.0.0" to clipboard
icon_font_generator: ^4.0.0 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 icon_font_generator
copied to clipboard

Use it

The package has the following executables:

$ generator
copied to clipboard

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add icon_font_generator
copied to clipboard

With Flutter:

 $ flutter pub add icon_font_generator
copied to clipboard

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

dependencies:
  icon_font_generator: ^4.0.0
copied to clipboard

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:icon_font_generator/icon_font_generator.dart';
copied to clipboard
123
likes
140
points
16.2k
downloads

Publisher

verified publisherserge.software

Weekly Downloads

2024.09.20 - 2025.04.04

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

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

More

Packages that depend on icon_font_generator