'Git error. Command: with exit code 128 in Flutter

attempting to use this package in my flutter application

plain_notification_token:
    git:
      url: [email protected]:zionnite/plain_notification_token.git

enter image description here

Have deleted /.pub-cache yet error still persists

please what do I need to Do?



Solution 1:[1]

so I decided to use the full url from GitHub like this

  plain_notification_token:
    git:
      url: https://github.com/zionnite/plain_notification_token.git

I was then able to run the pubspec.yaml file

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zionnite