Ahmadre / FlutterIconPicker

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

Fixed "Error: Getter not found: 'adobe'" #17

Closed merskip closed 3 years ago

merskip commented 3 years ago

Hello,

I have Flutter in version 1.22.0 and flutter_iconpicker in 2.1.5. While I want to build my project I get an error:

Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
/D:/flutter/.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,
                            ^^^^^

FAILURE: Build failed with an exception.

* Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
Exception: Gradle task assembleDebug failed with exit code 1

It seems as adobe icon was removed in some version.

nstrelow commented 3 years ago

Can this just please be merged?

Ahmadre commented 3 years ago

Sorry guys, was a bit busy. Are the other parts of FontAwesomeIcons also fixed? @merskip

Ahmadre commented 3 years ago

Ok, I had a second look into the code: The Icons aren't missing, but the dependencies were deprecated. I fixed the dependencies and updated cupertino Icons too with that.

Next Update will fix this.

Ahmadre commented 3 years ago

by the way: .adobe is already included in my local branch. I will update it.

Ahmadre commented 3 years ago

New version available now: Version

I'll close this PR for now. Thanks for making me aware of :)