Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use flutter pub add to add dependencies #1033

Merged
merged 2 commits into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ As of `v4`, it is built on foundational libraries from the [gql-dart project], i

First, depend on this package:

```yaml
dependencies:
graphql: ^4.0.0-beta
```console
$ flutter pub add graphql
```

And then import it inside your dart code:
Expand Down
5 changes: 2 additions & 3 deletions packages/graphql_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ This guide is mostly focused on setup, widgets, and flutter-specific considerati

First, depend on this package:

```yaml
dependencies:
graphql_flutter: ^<last version on github release>
```console
$ flutter pub add graphql_flutter
```

And then import it inside your dart code:
Expand Down