Ahmadre / FlutterIconPicker

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

Adobe icon not available in FontAwesome 5.15, fails compile #16

Closed nstrelow closed 3 years ago

nstrelow commented 3 years ago

https://github.com/fluttercommunity/font_awesome_flutter/pull/124

This PR removed the Adobe icon, which now fails my build, even though I am not using that icon.

I suggest fixing the version of font_awesome_flutter to 8.8.1 until you add all the new icons and remove the old ones.

Error:

../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_iconpicker-2.1.5/lib/IconPicker/Packs/FontAwesome.dart:16:29: Error: Getter not found: 'adobe'.
  'adobe': FontAwesomeIcons.adobe,
                            ^^^^^
merskip commented 3 years ago

Hello, I have the same problem and I created pull request which should fix this issue: https://github.com/Ahmadre/FlutterIconPicker/pull/17

BermyToiga commented 3 years ago

I also am having this problem. Just commented the adobe line out for now

Edit: This is also happening for fontAwesomeLogoFull, solidFontAwesomeLogoFull, and brandsFontAwesomeLogoFull for me now. Commenting these out allows it to compile still

anderson-oki commented 3 years ago

I have the same issue. I downgrade my font_awesome_flutter to 8.8.1 as temporary workaround.

ciriousjoker commented 3 years ago
../../../../.pub-cache/hosted/pub.dartlang.org/flutter_iconpicker-2.1.5/lib/IconPicker/Packs/FontAwesome.dart:16:29: Error: Getter not found: 'adobe'.
  'adobe': FontAwesomeIcons.adobe,
                            ^^^^^
../../../../.pub-cache/hosted/pub.dartlang.org/flutter_iconpicker-2.1.5/lib/IconPicker/Packs/FontAwesome.dart:573:43: Error: Getter not found: 'fontAwesomeLogoFull'.
  'fontAwesomeLogoFull': FontAwesomeIcons.fontAwesomeLogoFull,
                                          ^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dartlang.org/flutter_iconpicker-2.1.5/lib/IconPicker/Packs/FontAwesome.dart:574:48: Error: Getter not found: 'solidFontAwesomeLogoFull'.
  'solidFontAwesomeLogoFull': FontAwesomeIcons.solidFontAwesomeLogoFull,
                                               ^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dartlang.org/flutter_iconpicker-2.1.5/lib/IconPicker/Packs/FontAwesome.dart:575:49: Error: Getter not found: 'brandsFontAwesomeLogoFull'.
  'brandsFontAwesomeLogoFull': FontAwesomeIcons.brandsFontAwesomeLogoFull,
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^

This is the full error message seemingly 3 more icons missing

Ahmadre commented 3 years ago

At first: sorry all for the delay. Had a lot of work here.

but good news: it was just a dependency issue here. FontAwesome Flutter is updating immediately and not all devs out there have the time to update the depending packages too.

I fixed the issue and will come with the next update very soon :)!

Ahmadre commented 3 years ago

Hey guys, I had to update fontAwesomeFlutter so "adobe" is no longer available. Maybe some license problems on flutter community side. But here's the new update: Version

everything compiles now