icon_pack_generator 0.2.1 copy "icon_pack_generator: ^0.2.1" to clipboard
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 #

🧑‍💻 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 #

2
likes
160
points
21
downloads

Documentation

API reference

Publisher

verified publishersoftyes.com.br

Weekly Downloads

An icon pack generator from .svg files for Flutter applications.

Homepage
Repository (GitHub)
View/report issues

License

AGPL-3.0 (license)

Dependencies

path, recase, yaml, yaml_edit

More

Packages that depend on icon_pack_generator