Code Monkey home page Code Monkey logo

Comments (16)

brianegan avatar brianegan commented on June 12, 2024 31

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:

  1. Stopping the app
  2. Running flutter clean in your app directory
  3. Deleting the app from your simulator / emulator / device
  4. Rebuild & Deploy the app.

from font_awesome_flutter.

chabislav avatar chabislav commented on June 12, 2024 1

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.

andrijasinski avatar andrijasinski commented on June 12, 2024 1

@brianegan Yes, my bad! Thank you.

from font_awesome_flutter.

zyllus17 avatar zyllus17 commented on June 12, 2024 1

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:

  1. Stopping the app
  2. Running flutter clean in your app directory
  3. Deleting the app from your simulator / emulator / device
  4. Rebuild & Deploy the app.

Did all the above but it is still not working on ^8.5.0

from font_awesome_flutter.

andrijasinski avatar andrijasinski commented on June 12, 2024

Hi there! I also found a missing icon: code-commit (https://fontawesome.com/icons?d=gallery&q=commit)

from font_awesome_flutter.

brianegan avatar brianegan commented on June 12, 2024

Thanks for the heads up. I'll take a look!

from font_awesome_flutter.

andrijasinski avatar andrijasinski commented on June 12, 2024

@chabislav I set a FontAwesomeFlutter to any - so far, so good.
font_awesome_flutter: any

from font_awesome_flutter.

fliermanrw avatar fliermanrw commented on June 12, 2024

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.

brianegan avatar brianegan commented on June 12, 2024

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.

brianegan avatar brianegan commented on June 12, 2024

@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.

brianegan avatar brianegan commented on June 12, 2024

How's this one going for folks? Did uninstalling / reinstalling help? Latest version fix the issue? Thanks!

from font_awesome_flutter.

brianegan avatar brianegan commented on June 12, 2024

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.

anthonysette avatar anthonysette commented on June 12, 2024

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:

  1. Stopping the app
  2. Running flutter clean in your app directory
  3. Deleting the app from your simulator / emulator / device
  4. 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.

fliermanrw avatar fliermanrw commented on June 12, 2024

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:

  1. Stopping the app
  2. Running flutter clean in your app directory
  3. Deleting the app from your simulator / emulator / device
  4. 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.

eebeeDEV avatar eebeeDEV commented on June 12, 2024

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.

mcfriend99 avatar mcfriend99 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.