fluttercommunity / font_awesome_flutter

The Font Awesome Icon pack available as Flutter Icons
Other
842 stars 241 forks source link

Update pubspec.yaml #216

Closed DR-CesarPrz closed 2 years ago

DR-CesarPrz commented 2 years ago

Remove flutter and fonts field entirely to prevent Expected "fonts" to be a list, but got null (Null) error

michaelspiss commented 2 years ago

Seems like I was a bit too eager when deleting the duotone generator parts and accidentally removed the style collector, which led to no styles being found and enabled. I can't fathom how I didn't spot the empty pubspec during the commit check.

The reason why I'm not merging your fix is because flutter.fonts.* is required for this package to load the icons. However, thanks a lot for bringing this to my attention and providing a fix! Pull requests like this are always greatly appreciated!