fluttercommunity / fluttercommunity/font_awesome_flutter

Flutter Font Awesome Kit - Adding Custom Svgs

Open
#245 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
905
Forks
293
PR merge metrics
No merged PRs in 30d

Description

Having problems loading custom svgs from downloaded kit and not finding documentation for adding to Flutter that addresses specifically the custom svgs.

- Downloaded a custom kit for flutter font awesome.
- Following documentation and copied the webfonts/ttf files and metadata/icons.json file under the fonts directory.
- Ran ./configurator.sh
- Received confirmation that "Custom icons.json found, generating files" .... "Done"
- Custom svgs are not included in the file

When I look at the kit files, the icons.json does not contain the custom svgs. I can find the custom svgs under svgs/custom-icons. There is also a js/custom-icons.js file. I attempted to create a new directory and copy the custom svgs into the directory.

font_awesome_flutter
lib
custom_icons
fonts

Unclear what files need to be copied to the project from the kit, what directories to create, and what scripts to run to get the custom svgs to show up. Also, don't know how to reference the custom svgs once they are added. Normal icons are referenced by "FontAwesomeIcons.xxx".

Can you provide some guidance?

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.