Open GiorgiaDip opened 1 month ago
same
It's actually flutter pub run icon_font_generator:generator
that works. A typo in README.md
@manlyman29 I just tried your solution and this is always the output: Could not find 'bin/generator.dart' in package 'icon_font_generator'.
I tried to write the command in any possible way, I tried to reinstall the package too but nothing seems to work for me
EDIT: Just noticed that I wrote here to my issue with another account of mine
@GiorgiaDiPlacido Make sure you have v4 installed. On v3 the command name was different.
@manlyman29 Thank you for the solution. I didn't noticed I still had v3 from when I was making tries. The command is now running successfully, so this one flutter pub run icon_font_generator:generator
is the correct one for the icon_font_generator
v4 package.
Anyway, now that the command run correctly I still see my icons as emojis instead of the actual svg icons. Any suggestion on this? Could it be a problem related to the svg icons themself?
Below you can find how my icons appears and what should they be instead
Hello, I'm using icon_font_generator to add custom svg icon to my application. After completing each configuration step I noticed that my icons are some random emoji with an iphone-like style.
When trying to run this command
flutter pub run icon_font_generator
I have this error: Could not find bin/icon_font_generator.dart in package icon_font_generator.Here are the steps I did:
flutter pub global activate icon_font_generator
flutter pub run icon_font_generator
Also, from the documentations, I saw there is a command called "generator" that actually builds up something but I still see my svg icons as emojes. Please if anyone encountered help me solve it
Also providing my configuration in the
.yaml
file: