gql_gapher 1.0.0 copy "gql_gapher: ^1.0.0" to clipboard
gql_gapher: ^1.0.0 copied to clipboard

Tired of raw strings for Graphql requests in Dart? Write fluent graphql code in your .graphql/.gql files.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gql_gapher

With Flutter:

 $ flutter pub add gql_gapher

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

dependencies:
  gql_gapher: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:gql_gapher/gql_gapher.dart';
1
likes
120
points
56
downloads

Publisher

unverified uploader

Weekly Downloads

Tired of raw strings for Graphql requests in Dart? Write fluent graphql code in your .graphql/.gql files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build, code_builder, dart_style, gql

More

Packages that depend on gql_gapher