Skip to content

softyesti/icon_pack_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon Pack Generator

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

Features

  • 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

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

Credits

Packages

No packages published