From 33bd161f17d670b25930d7bbc96ec5c2e0bf90fe Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 10 Feb 2022 13:45:42 +0100 Subject: [PATCH] Use `flutter pub add` Author: https://github.com/domesticmouse --- packages/graphql/README.md | 5 ++--- packages/graphql_flutter/README.md | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/graphql/README.md b/packages/graphql/README.md index a930b8b64..6faae5ebd 100644 --- a/packages/graphql/README.md +++ b/packages/graphql/README.md @@ -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: diff --git a/packages/graphql_flutter/README.md b/packages/graphql_flutter/README.md index 743500389..04439ac96 100644 --- a/packages/graphql_flutter/README.md +++ b/packages/graphql_flutter/README.md @@ -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: ^ +```console +$ flutter pub add graphql_flutter ``` And then import it inside your dart code: