8000 GitHub - quochoang228/hoagsource · GitHub
[go: up one dir, main page]

Skip to content
8000

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Built with ☕️ by QuocHoang

Install

Add hoagicons package into your pubspec.yaml.

dependencies:
  hoagicons: # Latest version

You can also run flutter pub add hoagicons to quickly add latest version from your CLI.

Development

Fetch new icons and automatically generate source code for hoagicons.dart (runs both of the below steps)

dart tool/update.dart

Extra Commands

If, for any reason, you need to run the steps separately, you can do so as follows:

  • Fetch new icons, organize into assets/ and update the README.

    dart tool/fetch_icons.dart

    Optionally, a branch may be specified to fetch icons from. For example, to fetch icons from the dev branch:

    dart tool/fetch_icons.dart dev

    Note that older branches (i.e., v1) won't work yet as the SVGs are organized differently and not all styles are available.

  • Run source code generation to create hoagicons.dart file with an enum entry for every icon.

    dart tool/generator.dart

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0