@@ -89,7 +89,9 @@ a public github repository or other public file sharing services.
89
89
* Go to the location of your custom font_awesome_flutter version (see [ setup] ( #setup ) )
90
90
* Download the web version of font awesome pro and open it
91
91
* Move ** all** ` .ttf ` files from the ` webfonts ` directory and ` icons.json ` from ` metadata ` to
92
- ` path/to/your/font_awesome_flutter/lib/fonts ` . Replace existing files.
92
+ ` path/to/your/font_awesome_flutter/lib/fonts ` . Replace existing files.
93
+ Newer versions might have an ` icon-families.json ` . If this is the case,
94
+ move its contents to ` path/to/your/font_awesome_flutter/lib/fonts/icons.json ` .
93
95
* Run the configurator. It should say "Custom icons.json found"
94
96
95
97
It may be required to run ` flutter clean ` in apps who use this version for changes to appear.
@@ -112,12 +114,12 @@ As all icons could theoretically be requested, none can be removed by flutter. I
112
114
option in conjunction with [ a limited set of styles] ( #excluding-styles ) and with as few of them as possible. You may
113
115
need to build your app with the ` --no-tree-shake-icons ` flag for it to succeed.
114
116
115
- Using the new configurator tool, this is now an optional feature. Run the tool with the ` --dynamic ` flag to generate...
117
+ Using the configurator tool, this is now an optional feature. Run the tool with the ` --dynamic ` flag to generate...
116
118
```
117
119
$ ./configurator.sh --dynamic
118
120
```
119
- ...and the following import to use the map. For normal icons, use ` faIconNameMapping ` with a key of this format:
120
- 'style icon-name'.
121
+ ...and use the following import to access the map. For normal icons, use
122
+ ` faIconNameMapping ` with a key of this format: 'style icon-name'.
121
123
``` dart
122
124
import 'package:font_awesome_flutter/name_icon_mapping.dart';
123
125
0 commit comments