fluttercommunity/font_awesome_flutter

Not generating icons.dart file

bharathkandula99 opened this issue · 1 comments

I inserted 'font awesome flutter: 10.4.0' to my project file and executed the 'flutter pub get' command.
icons .where((icon) => _searchTerm.isEmpty || icon.title.toLowerCase().contains(_searchTerm.toLowerCase())) .toList();

The above code was provided to obtain a filtered icons list, however I am unable to locate my project's 'icons. dart' file.
Should I manually include the 'icons.dart' file or will it be generated?

But, in git, the icons.dart file should be automatically generated.

Hi, the icons.dart file is only created for the example app and not exported for general use by the package to allow release optimizations. You can obtain a similar list by reading the customizing font awesome flutter steps and following the steps to retrieve icons dynamically. Please be aware that this is going to impact the resulting bundle size.