Update README.md

master
leman.li 5 years ago committed by GitHub
parent 6a3b5e3e71
commit 4daa5417ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,11 +101,14 @@ Icon(FontAwesome5.getIconData("500px", weight: IconWeight.Brand));
### How to keep only the fonts used in the project. ### How to keep only the fonts used in the project.
##### step 1 #### step 1
Execute the command`pub global activate split_icon` Execute the command
##### step2 ```
Add the font you want to leave in the project's pubspec file pub global activate split_icon
``` ```
#### step2
Add the font you want to leave in the project's pubspec file
```dart
//Ant Design Icons -> ant, //Ant Design Icons -> ant,
//Entypo Icons -> ent, //Entypo Icons -> ent,
//Evil Icons -> evi, //Evil Icons -> evi,
@ -122,14 +125,19 @@ Add the font you want to leave in the project's pubspec file
//Simple Line Icons -> sli, //Simple Line Icons -> sli,
//Zocial Icons -> zoc, //Zocial Icons -> zoc,
//Weather Icons -> wea //Weather Icons -> wea
... ...
flutter_icons: flutter_icons:
includes: includes:
-ant -ant
-mco -mco
.... ...
``` ```
##### step3 #### step3
Execute the command in the project directory`split_icon` Execute the command in the project directory
```
split_icon
```

Loading…
Cancel
Save