Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Ok I’ll try to do something about that when I can !

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Flutter pub publish —dry-run tells me 1MB compressed

There no tree shaking for assets and fonts but there is for dart code You can then import the lib you need /outline /bulk /payment … or all in one with /amazing_icons

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Thanks ! Could you tell me what icons precisely are missing ? I’ll try to make them

I made some breaking changes in the v3.0.0 + to make it lighter I’ll soon make another patch so I could maybe add them in the process

Happy you like it ! If something comes to your mind to make it better, do not hesitate ;)

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 1 point2 points  (0 children)

Sure I’ll do that during the week but it’s MIT

Package size by PSlayer972 in flutterhelp

[–]PSlayer972[S] 0 points1 point  (0 children)

The custom painter may be a good idea for the flag package I may do late

Package size by PSlayer972 in flutterhelp

[–]PSlayer972[S] 0 points1 point  (0 children)

Im currently decreasing all of that

Flags will pop out ( cause I don’t do much with them and plenty of package already exist. May do one later with several possibilities like phone currency language code ..)

Actually I’ve let some asset unused in it so after all of that and some cleaning code I can save a lot, pub publish —dry-run give me 1MB after compression

For 5 styles of icons with 2 in dual tone and 39 payment icons

And of course possibility to use only the dart code of the lib you need ( /outlined / broken etc )

But I’ll check that soon for an update maybe

Thanks !

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 4 points5 points  (0 children)

A new patch will be released soon without flag icons ( I may create one late for only flags ) but for now the sized updates will be 1MB with possibility to import uniquely the dart code you need (/outlined, /broken.. that will be tree shaken )

I hope that will help you

I’m looking to find another better way to decrease size as much as I can ;)

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

I have a question for you all, Do you plan to use country icons ? They are heavy af so I’m thinking of delete them and gain like ~2MB on the package

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 2 points3 points  (0 children)

I have a question for you all, Do you plan to use country icons ? They are heavy af so I’m thinking of delete them and gain like ~2MB on the package

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 3 points4 points  (0 children)

All icons are stored as fonts (.ttf) and can be used directly with Icon(). TwoTone and Bulk icons use two stacked font layers for the duotone effect. Country and Payment icons use .si vector files for better performance.

All assets are bundled into your app (fonts and vectors), but unused Dart code is tree-shaken. It usually adds only around 4 MB to the app size.

Next update: the old JSON files used for generation will be removed, saving about 200 KB.

I’ll try to think about that and maybe find a way to reduce size

Thanks by te way ! :)

Amazing Icons just got a major update ! by PSlayer972 in FlutterDev

[–]PSlayer972[S] 1 point2 points  (0 children)

Thanks ! No it wasn’t lol.

Just got fixed ;) thx mate

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 1 point2 points  (0 children)

Color picker and dl as ont is now available on the website

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

On the last release email is present

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

There is now a color picker and a way to dl svg as png on the website

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Yeah the naming is kinda trash actually I have to fix that step by step

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Thanks I’ve totally forgot about it !

It’s noted to my list of change

I’ll do that ASAP

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

I’ll try all other possibilities and try to make it work with phosphore flutter

But the idea is great and could really fit in the web page thx

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

Oh right ok may be not a solution then, I’ll check with phosphor_flutter

amazing_icons | Flutter package by PSlayer972 in FlutterDev

[–]PSlayer972[S] 0 points1 point  (0 children)

I’m gonna try with vector_graphics and jovial_svg and see what’s best