Short Intro: A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
GraphQL Flutter
Bulletin
- See the
v3 -> v4
Migration Guide if you’re still onv3
. - Maintenance status: Low.
- Follow #762 for updates on the planned architecture walk through videos.
- Join the discord.
About this project
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:
Package | Pub |
---|---|
graphql/client.dart | |
graphql_flutter |
Examples
Here are some examples you can follow:
Articles and Videos
External guides, tutorials, and other resources from the GraphQL Flutter community
- Ultimate toolchain to work with GraphQL in Flutter:
An intro to usinggraphql_flutter
withartemis
for code generation andgraphql-faker
for API prototyping
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)
Download GraphQL Flutter source code on GitHub
https://github.com/zino-app/graphql-flutter
Provides the list of the opensource Flutter apps collection with GitHub repository.