Skip to content

Commit

Permalink
Merge pull request #1033 from domesticmouse/beta
Browse files Browse the repository at this point in the history
Use `flutter pub add` to add dependencies
  • Loading branch information
vincenzopalazzo authored Feb 10, 2022
2 parents c9ca534 + 0a6b3f7 commit f198147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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

0 comments on commit f198147

Please # to comment.