gtk-flutter / libadwaita

Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.

Home Page:https://pub.dev/packages/libadwaita

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error adding dependency: libadwaita depends on libadwaita

augugusto opened this issue · comments

when I run
flutter pub add libadwaita
i get
Because libadwaita depends on libadwaita, version solving failed. pub finished with exit code 65

If I add it to pubsec.yaml and then run
flutter pub get
i get
Error on line 34, column 3 of pubspec.yaml: A package may not list itself as a dependency.

I've looked at libadwaitas pubsec.yaml but I do not see it as it's own dependency

You know how you sometimes go to bed and realize you are an idiot as soon as you wake up? Since i was testing libadwaita i named my project libadwaita and then tried to add libadwaita as a dependency.

I can't check right now but I bet that was the cause. Thanks for your time