Closed drmspatil closed 3 years ago
Are you running the script from the projects root folder? Please make sure to run tool\update.bat
and not only update.bat
from inside the tool folder. I guess I should update the script to not be reliant on that though...
It worked . thanks . However not able to see icons when using same. Can see only placeholder instead of icon.
Your may need to run flutter clean
in your project root and do a rebuild after that. Flutter sometimes has problems with updating assets.
Tried it but not working . Even tried to use as local package and as a integrated code also but not happening. Could it be generation issue ?
You may also want to try reinstalling the app. I've tested the generator script with the last couple of font awesome versions without problems, so I'm fairly certain this is just an asset update bug.
You can make sure everything is fine by building the example app in release mode. If there are any icon tree shaking errors, this might a generator issue.
With some tweaks its working now . Thanks . I am using duotone icons FaDuotoneIcon( FontAwesomeIcons.duotoneAirplay, size: 50, primaryColor: Colors.black, secondaryColor: Colors.amber, )
Getting error: The argument type 'IconData' can't be assigned to the parameter type 'IconDataDuotone'.
when used in FaIcon() same duotone icon works fine . However it doesn't work with FaDuotoneIcon().
Good to hear it's working now. The duotone icon bug is tracked at #154, I'll have a look at it later today.
Could you do me a favor and describe your problem again in the issue linked above? I cannot replicate any errors with duotone icons
This is in powershell.
Updating free icons to newest version. The system cannot find the path specified. Error when reading '.\tool\generate_font.dart': No such file or directory. Error when reading '.\tool\generate_example.dart': No such file or directory. No file or directory found at ".\lib\font_awesome_flutter.dart". No file or directory found at ".\example\lib\icons.dart".