I'm trying to modify an existing package on pub.dev. I need to update one of the dependencies in the package. I've seen how to do this from here
dependencies:
flutter:
sdk: flutter
graphql_flutter:
git:
url: https://github.com/username/graphql-flutter.git
When I run flutter pub get
I get pub get failed (1; Could not find a file named "pubspec.yaml"
Looking at the repository
There is no pubspec.yaml
in the root
I presume I need to reference the pubspec.yaml
in the packages folder? There is 2 of them there...
Not sure how to do this?
The package is graphql_flutter