Open carlosriveroib opened 2 years ago
@bigbadbob2003 is there any plan to work on this feature?
@agil3st I've had a look but i'm not sure there is much i can do.
Flutter uses font files for icons, it does support variable fonts which would allow you set set the icon weight https://api.flutter.dev/flutter/widgets/Icon/weight.html
However from what i can see i don't believe the Tabler Icons project exports a variable font in either ttf or oft, just fonts with a static weight of 400.
If you could convince them to generate a variable font i'll happily swap to using that.
Or if someone wants to work on a converter that can take the Tabler svgs and generate the font for us in github actions i can plug it into the pipeline that builds the flutter_tabler_icons package.
what about individual fonts for 0.5px, 1px, 1.5px, 2px, 2.5px, and 3px
In tabler icons website (https://tabler-icons.io/), it's possible to choose the stroke width in the library? Seems like they have a default 1 stroke, would be really nice a way to change that. Thank you very much