How do you use a git repository as a flutter package dependency?

I'm trying to use a fork of a package I found on pub.dev.

The textfield for pubspec dependencies doesn't even allow the characters needed for a url (like "/")

Is there another place to add dependencies to the pubspec.yaml?

It's possible with dart: https://dart.dev/tools/pub/dependencies#git-packages

15
9 replies