You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use flutter_svg package https://pub.dev/packages/flutter_svg and it displayed the same icon well, so i think this is an issue from the flutter_icon website
The text was updated successfully, but these errors were encountered:
I've been doing some research and it seems like the problem is that the font generated is not completely squared so when Flutter renders the icon (the generated font), the icon overflows, and the overflow is shown by Flutter. You can try this if you add textDirection: TextDirection.rtl in your icon and it will overflow the other way.
The only way I see we could fix this is by making all the characters generated in the font completely squared, so the icons never overflow, being completely centered.
Edit: I'm realizing now that even on the page you can notice the error on your icons when you go to the "names" tab.
Edit 2: Custom Icon Widget
For anyone interested, I made a custom implementation of the Icon widget that solves the problem that Flutters Icon widget have and wraps the overflow of the icon. You can try it out here
Image for the issue
I tried to use flutter_svg package https://pub.dev/packages/flutter_svg and it displayed the same icon well, so i think this is an issue from the flutter_icon website
The text was updated successfully, but these errors were encountered: