Ahmadre / FlutterIconPicker

An adaptive comprehensive IconPicker for Flutter
MIT License
112 stars 76 forks source link

Icons are not showing #67

Closed jyyoooo closed 2 months ago

jyyoooo commented 5 months ago

Im getting No results for: message by default when i open the picker and even when i search i cant seem to find any icons.

onTap: () async => selectedIcon = await showIconPicker( showSearchBar: false, iconPackModes: [IconPack.allMaterial, IconPack.cupertino], searchComparator: (String search, IconPickerIcon icon) => search.toLowerCase().contains( icon.name.replaceAll('_', ' ').toLowerCase()) || icon.name .toLowerCase() .contains(search.toLowerCase()), iconPickerShape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(12)), context, title: const Text('Select badge icon')),

                  am i missing something?
PhanithNoch commented 5 months ago

Same

StevePhuc commented 5 months ago

after done this and restart then icon showing https://github.com/Ahmadre/FlutterIconPicker/issues/66#issuecomment-1978556008

luckygogreen commented 3 months ago

after done this and restart then icon showing #66 (comment) Still not work ,is there anything we need to do ?

Ahmadre commented 2 months ago

Thank you @StevePhuc for linking on that. I will add this to the docs.

Please also see the Troubleshooting section in the readme. This package is generating the icons packs to don't blow up your app size and be as small as possible.

You need to execute: dart run flutter_iconpicker:generate_packs --packs <material,cupertino,..>

Ahmadre commented 2 months ago

Fixed some bugs by upgrading dcli package