Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.41 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.41 KB

font_icon_to_flutter

style: very good analysis


Cli app to translate your CSS Font Icon to Dart for your Flutter Project.

Commands

> font_icon_to_flutter --help

font_icon_to_flutter
Translate your CSS Font Icon to Dart for your Flutter Project.

Common command:
  font_icon_to_flutter -t iconlyio -i iconly.css -f Iconly

Usage: font_icon_to_flutter <arguments>

Global options:
-t, --type=<name> (mandatory)           Parser type.

          [fontawesome]                 FontAwesome.com static CSS File
          [iconlyio]                    Iconly.io CSS File
          [lucide]                      Lucide.dev static CSS File

-i, --input=<path> (mandatory)          Path to the input file (iconly.io css file).
-o, --output=<path>                     Path to the output file (Dart class). If omitted, prints to stdout.
-f, --font-family=<name> (mandatory)    Font family to use (as specified in your pubspec.yaml).
-p, --font-package=<name>               Package name for the font if it part of a custom package.
-c, --class-name=<name>                 Name of the generated class.
                                        (defaults to "FontIcon")
-h, --[no-]help                         Show this help message and exit.

Credits

Developed with 💙 by Valentin MICHALAK