fluttercommunity/font_awesome_flutter

Tree shaking requires @staticIconProvider annotation

Closed this issue · 1 comments

ltOgt commented

Had an issue where Font awesome icons were not reduced by tree shaking:

image

Turns out you need to add the @staticIconProvider annotation

Compare


'class FontAwesomeIcons {',

Hey @ltOgt, thanks for bringing this up! @staticIconProvider will be available with the next release