Comments (16)
If you're not seeing any icons at all, sometimes it means that Flutter has a cached version of the app on device and hasn't pushed the new fonts. I've run into that as well a few times...
Please try:
- Stopping the app
- Running
flutter clean
in your app directory - Deleting the app from your simulator / emulator / device
- Rebuild & Deploy the app.
from font_awesome_flutter.
Hey guys, what version are you using? For some reason 8.2.0 doesn't work for me at all. Can't find 'FontAwesomeIcons'.
from font_awesome_flutter.
@brianegan Yes, my bad! Thank you.
from font_awesome_flutter.
If you're not seeing any icons at all, sometimes it means that Flutter has a cached version of the app on device and hasn't pushed the new fonts. I've run into that as well a few times...
Please try:
- Stopping the app
- Running
flutter clean
in your app directory- Deleting the app from your simulator / emulator / device
- Rebuild & Deploy the app.
Did all the above but it is still not working on ^8.5.0
from font_awesome_flutter.
Hi there! I also found a missing icon: code-commit (https://fontawesome.com/icons?d=gallery&q=commit)
from font_awesome_flutter.
Thanks for the heads up. I'll take a look!
from font_awesome_flutter.
@chabislav I set a FontAwesomeFlutter to any
- so far, so good.
font_awesome_flutter: any
from font_awesome_flutter.
I encounter the same problem as @dawidhyzy. Anyone found a solution?
//edit: This seems to be for all icons. I have tried several without success.
from font_awesome_flutter.
Also, @andrijasinski -- It's a separate issue, but the icons you mention are Pro icons. Since this library is open source, it only offers the free icons offered by Font Awesome.
from font_awesome_flutter.
@chabislav Hrm, that's super weird. I've just published 8.4.0
with the latest 5.7.0 Font Awesome Icons. Could you please try that version? As long as flutter packages get
downloads the dependency and the import is references in the correct file, I don't think there should be any problem using the FontAwesomeIcon
class!
from font_awesome_flutter.
How's this one going for folks? Did uninstalling / reinstalling help? Latest version fix the issue? Thanks!
from font_awesome_flutter.
Gonna close this out for now since I haven't heard back for a bit. Please let me know if ya need more help!
from font_awesome_flutter.
If you're not seeing any icons at all, sometimes it means that Flutter has a cached version of the app on device and hasn't pushed the new fonts. I've run into that as well a few times...
Please try:
- Stopping the app
- Running
flutter clean
in your app directory- Deleting the app from your simulator / emulator / device
- Rebuild & Deploy the app.
This worked for me after just stopping the app, running flutter clean
and rebuilding it. I didn't need to delete the app from the emulator. Thanks!
from font_awesome_flutter.
If you're not seeing any icons at all, sometimes it means that Flutter has a cached version of the app on device and hasn't pushed the new fonts. I've run into that as well a few times...
Please try:
- Stopping the app
- Running
flutter clean
in your app directory- Deleting the app from your simulator / emulator / device
- Rebuild & Deploy the app.
This worked for me after just stopping the app, running
flutter clean
and rebuilding it. I didn't need to delete the app from the emulator. Thanks!
Bit late, but same for me. Key in this is that it will not work when hot reloading the app. First time using the FontAwesome icons you'll need to stop and re-run your app (maybe even without Flutter clean).
from font_awesome_flutter.
I had the same issue and even when running Flutter clean
, still no icons were displayed.
Then I realized that this happend after I copied custom fonts in the web/assets/fonts/
folder and created a fontmanifest.json
inside the asset folder.
After deleting both the fonts folder and fontmanifest.json
file the icons re-appeared again.
I also noticed that after running Flutter build web
with the custom fonts, the build creates the following folder structure /assets/assets/fonts/
Since then I've put both the fonts folder and fontmanifest.json
at the root of the web (/web/fonts/)
folder. Now both the custom fonts and the icons appear.
from font_awesome_flutter.
For those still struggling with this, I made a package that has all the FontAwesome 5 fonts complete at https://pub.dev/packages/flineicons. Please try it out!
from font_awesome_flutter.
Related Issues (20)
- missing thin icon HOT 1
- Missing icons HOT 5
- Can we reduce file size as flutter did for material icons HOT 1
- Dynamic icon retrieval required regular font to be available HOT 2
- Flutter Font Awesome Kit - Adding Custom Svgs HOT 8
- Allow shadows to be painted underneath an icon
- Unfortunately we need now a new twitter icon HOT 2
- FontAwesomeIcons.clone and FontAwesomeIcons.solidClone are inconsistent with the following link HOT 1
- Web build fails on Flutter 3.13.0 HOT 6
- printVersionNotice sometimes fails HOT 1
- Tree shaking requires @staticIconProvider annotation HOT 1
- FaIcon size 24 HOT 1
- Pro icon get ttf how to obtain icons.json? It seems auto downloaded HOT 1
- Update to 6.5.1 icons HOT 1
- Building FontAwesome pro with GitHub Actions HOT 1
- Running configurator.bat immediately closes console with no result HOT 1
- Icon not rendering in Web Build - Hosted in AWS Amplify HOT 2
- Missing certain icons after upgrade from FA 5 to 6 HOT 2
- Solid Icon showing Regular HOT 1
- Icon jumps when moved
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from font_awesome_flutter.