Unverified Commit 005cb981 authored by Michael Spiss's avatar Michael Spiss Committed by GitHub

Merge pull request #95 from Chamed/patch-1

Make pro icon installation steps clearer
parents 4fd74f52 3485f89f
...@@ -76,17 +76,15 @@ icon fonts and want to use them with Flutter, please follow these instructions. ...@@ -76,17 +76,15 @@ icon fonts and want to use them with Flutter, please follow these instructions.
to keep these files private. This includes **not** uploading your package to to keep these files private. This includes **not** uploading your package to
a public github repository or other public file sharing services. a public github repository or other public file sharing services.
* Download this package's * Download this package's [newest release](https://github.com/fluttercommunity/font_awesome_flutter/archive/master.zip), extract the folder, move it to a location of your choice and go to that directory
[newest release](https://github.com/fluttercommunity/font_awesome_flutter/archive/master.zip),
extract the folder and move it to a location of your choice
* Remove `#`s from `pubspec.yaml` at the indicated position * Remove `#`s from `pubspec.yaml` at the indicated position
* run `flutter packages get` * run `flutter packages get`
* Download your font awesome pro icons (web version) * 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 * Move `icons.json` from `metadata` to this directory
* Move all `.ttf` files from the `webfonts` directory to this package's lib/fonts (replace existing fonts)
* Run `./tool/update.sh` * Run `./tool/update.sh`
* Add version `>= 4.7.0` to your project's dependencies, Override it with the path to your local installation * Add version `>= 4.7.0` to your project's dependencies, Override it with the path to your local installation
```yaml ```yaml
dependencies: dependencies:
font_awesome_flutter: '>= 4.7.0' font_awesome_flutter: '>= 4.7.0'
......
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