flutter_graphql_client 0.1.21 copy "flutter_graphql_client: ^0.1.21" to clipboard
flutter_graphql_client: ^0.1.21 copied to clipboard

outdated

Client to POST to GraphQL server

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_graphql_client

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_graphql_client: ^0.1.21

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_graphql_client/graph_client.dart';
import 'package:flutter_graphql_client/graph_constants.dart';
import 'package:flutter_graphql_client/graph_event_bus.dart';
import 'package:flutter_graphql_client/graph_sqlite.dart';
import 'package:flutter_graphql_client/graph_utils.dart';