我正在尝试修改pub.dev上的一个现有软件包。 我需要更新软件包中的一个依赖项。 我已经看到了如何从这里进行操作。
dependencies:
flutter:
sdk: flutter
graphql_flutter:
git:
url: https://github.com/username/graphql-flutter.git
当我运行
flutter pub get
时,
我得到了pub get failed (1; Could not find a file named "pubspec.yaml"
。看一下repository,
根目录中没有
pubspec.yaml
。我猜我需要引用packages文件夹中的
pubspec.yaml
?那里有两个...
不确定该怎么做?该软件包是graphql_flutter。