Skip to content

Commit

Permalink
Use flutter pub add
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzopalazzo committed Feb 10, 2022
1 parent c9ca534 commit 5a506df
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 5a506df

Please # to comment.