Ahmadre / FlutterIconPicker

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

Whatsapp icon dissappeared in flutter 3.7 #53

Closed nicolaspernoud closed 1 year ago

nicolaspernoud commented 1 year ago

Hello, After upgrading to flutter 3.7, i get the following error : flutter_iconpicker-3.2.2/lib/IconPicker/Packs/Material.dart:25632:21: Error: Member not found: 'whatsapp'. It seems that icon does not exist anymore !?

flutterWithChris commented 1 year ago

Just created a PR that fixes this issue. Hoping it gets reviewed & merged soon!

HusseinM11 commented 1 year ago

Facing the same issue, hope it gets fixed soon.

CharlesLim0721 commented 1 year ago

Just created a PR that fixes this issue. Hoping it gets reviewed & merged soon!

Thanks flutterWithChris 👍🏻

razfazz commented 1 year ago

same issue

azimuthdeveloper commented 1 year ago

You can use @CharlesLim0721's fix today without waiting for a PR by putting this in your pubspec.yaml. Just remember to change it later.

  flutter_iconpicker:
    git:
      url: https://github.com/kechankrisna/FlutterIconPicker
      ref: hotfix
nagringapp commented 1 year ago

Thanks @azimuthdeveloper , you have saved my build :) I hope they merge it soon

bdemeure commented 1 year ago

No news about this fix ? The PR is not merged yet :(

TheRedPanda17 commented 1 year ago

Hi there. There are production apps waiting for this fix :) @Ahmadre

flutterWithChris commented 1 year ago

@TheRedPanda17 @bdemeure Feel free to use my forked repo that fixes this issue in the meantime! Hope it helps:

https://github.com/flutterWithChris/FlutterIconPicker

azimuthdeveloper commented 1 year ago

This was still an issue and there was now another issue with a SearchBar conflict, so I forked the package and pushed it to pub.dev so you don't have to pull it in and manually fix it. I spoke about it here: https://github.com/Ahmadre/FlutterIconPicker/issues/59#issuecomment-1547780159

Ahmadre commented 1 year ago

WhatsApp Icons are not supported anymore by Flutter SDK itself.

See: https://github.com/Ahmadre/FlutterIconPicker#disclaimer-important

A solution is that you copy the old Flutter Icons and use them as custom icons or override this Package's Material Icons and use an old version of Flutter, but this is not recommended.

Better use customIcons instead as mentioned in the Readme.

By the way: a new version is published now with the new changes from Flutter SDK :)