ilikerobots / polyicon

Flutter icon set generator
http://fluttericon.com
MIT License
421 stars 49 forks source link

Add String Type to _kFontPkg to avoid linter errors #58

Closed mnehrig closed 3 years ago

mnehrig commented 4 years ago

Hi,

Just a minor Suggestion:

In the generated dart file, change: static const _kFontPkg = null; to static const String _kFontPkg = null;

This avoids an error with stricter lint configurations using 'implicit_dynamic_field'.

Great project! Thank u very much!

ilikerobots commented 3 years ago

Thank you, released. I added null safety as well: https://github.com/ilikerobots/polyicon/commit/6bb58ee11fa860c70002c1840099acb34d3b32b2