icon_font_extractor 1.2.0 copy "icon_font_extractor: ^1.2.0" to clipboard
icon_font_extractor: ^1.2.0 copied to clipboard

Extracts ligatures from icon fonts declared in pubspec.yaml and generates typed IconData constants for use with Flutter's Icon widget.

1.2.0 #

Format output #

Added the dart_style package to format the generated Dart code.

1.1.0 #

Non-Ligature Font support #

Non-Ligature fonts are now supported. Just add the useLigatures: false to the icon_font_extractor config and you're good.

1.0.0 #

  • Initial release.
  • Pure-Dart TTF/OTF parser for the cmap and GSUB (LookupType 4 and LookupType 7-wrapped 4) tables.
  • icon_font_extractor generate CLI driven by a top-level icon_fonts: array in pubspec.yaml.
  • Generates abstract final class with static const IconData constants per ligature, usable directly with Flutter's Icon widget.
  • --check flag for CI to detect stale generated files.
1
likes
160
points
231
downloads

Documentation

API reference

Publisher

verified publishermintware.de

Weekly Downloads

Extracts ligatures from icon fonts declared in pubspec.yaml and generates typed IconData constants for use with Flutter's Icon widget.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, dart_style, path, yaml

More

Packages that depend on icon_font_extractor