Unverified Commit 4a383fbe authored by Michael Spiss's avatar Michael Spiss Committed by GitHub

Add installation instructions for pro icons

parent dd08ea2e
...@@ -36,6 +36,26 @@ class MyWidget extends StatelessWidget { ...@@ -36,6 +36,26 @@ class MyWidget extends StatelessWidget {
View the Flutter app in the `example` directory to see all the available `FontAwesomeIcons`. View the Flutter app in the `example` directory to see all the available `FontAwesomeIcons`.
## Include pro icons
If you bought font awesome pro icons, you can import them here.
:exclamation: By importing pro icons you acknowledge that it is your obligation to keep these files private, this includes **not** uploading your package to github or other public file sharing services.
- [Download this package's source](https://github.com/michaelspiss/font_awesome_flutter/archive/master.zip), extract the folder and move it to a location of your choice
- Download your font awesome pro icons (web version)
- Move all `.ttf` files from the `webfonts` directory to this package's lib/fonts (replace existing fonts)
- Move `icons.json` from `metadata` to this directory (package root)
- Run `./tool/update.sh` (from this package's root)
- Remove `#`s from `pubspec.yaml` at the indicated position
- Add dependency to your project with the source being the location of your choice:
```yaml
dependencies:
font_awesome_flutter:
path: /path/to/font_awesome_flutter
...
```
## Contributors ## Contributors
- Brian Egan - Brian Egan
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment