/graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.

Primary LanguageDartMIT LicenseMIT

GraphQL Flutter

A collection of packages to work with graphql server in dart and flutter.

GitHub Workflow Status (branch) Pub Popularity Discord

Introduction

GraphQL brings many benefits, both to the client: devices will need fewer requests, and therefore reduce data usage. And to the programmer: requests are arguable, they have the same structure as the request.

This project combines the benefits of GraphQL with the benefits of Streams in Dart to deliver a high-performance client.

The project took inspiration from the Apollo GraphQL client, great work guys!

Packages

This is a Monorepo which contains the following packages:

Crate Description Version
graphql Client implementation to interact with any graphql server Pub Version (including pre-releases)
graphql_flutter Flutter Widgets wrapper around graphql API Pub Version (including pre-releases)

Utils Tools

Around graphql_flutter are builds awesome tools like:

  1. graphql_flutter_bloc
  2. graphql_codegen
  3. graphql-cache-inspector

Features

✅   Queries, Mutations, and Subscriptions
✅   Query polling and rebroadcasting
✅   In memory and persistent caching
✅   GraphQL Upload
✅   Optimistic results
✅   Modularity
✅   Client-state management
⚠️   Automatic Persisted Queries (out of service)

Contributing

Please see our Hacking guide

Contributors

This package was originally created and published by the engineers at Zino App BV. Since then the community has helped to make it even more useful for even more developers.

This project follows the all-contributors specification. Contributions of any kind are welcome!

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Articles and Videos

External guides, tutorials, and other resources from the GraphQL Flutter community