icon_pack_generator 0.2.1
icon_pack_generator: ^0.2.1 copied to clipboard
An icon pack generator from .svg files for Flutter applications.
IconPackGenerator #
A tool for generating icon packs from .svg files for Flutter packages.
🧰 Features #
- Icon preview in the IDE, if supported.
- Icon pack generation based on configuration file.
- Automatic addition of the icon font file in
pubspec.yaml.
🖥️ Requirements #
- NodeJS(v11+).
- fantasticon node package.
🧑💻 Installation #
flutter pub add -d icon_pack_generator
OR
dart pub global activate icon_pack_generator
⚙️ Config file #
Create the following file in the root of your project: icon_pack_generator.yaml
or any other file in any other location, as long as it contains the following:
icon_pack_generator:
class_name: "" # ClassName
package_name: "" # package_name
icon_source: "" # path/to/folder
font_target: "" # path/to/folder
class_target: "" # path/to/folder
💡 Usage #
Run the following command in the root of your project:
dart run icon_pack_generator
OR
dart run icon_pack_generator /path/to/file.yaml
📜 Credits #
- SoftYes TI <softyes.com.br>
- João Sereia <joao.sereia@softyes.com.br>