Home > Blockchain >  GitHub repository based dependency restore issue in Flutter using Pub get command
GitHub repository based dependency restore issue in Flutter using Pub get command

Time:06-13

I am trying to restore flutter dependency using flutter pub get command. My pubspec.ymal file has enter image description here

But I am getting git error.

enter image description here

I cleared pub-cache folder as well. But there has not good sign.

Please help me to resolve this configuration issue.

CodePudding user response:

You cannot use the GitHub repos as such now. Either you need to add the ssh key into your system and pass add the password and username info in the URL or simply use the HTTPS URL like below.

google_map_location_picker:
    git: https://www.github.com/Lyokone/google_map_location_picker.git
  • Related