talira

GraphQL Flutter

GraphQL client for Dart and Flutter, with caching and subscriptions

open sourceMITfree

GraphQL Flutter is a monorepo of two packages: graphql, a GraphQL client for any Dart program, and graphql_flutter, Flutter widgets around it. It handles queries, mutations and subscriptions, polling, in-memory and persistent caching, uploads, optimistic results and operation cancellation, and was inspired by Apollo Client.

Problems it solves

  • call a GraphQL API from my Flutter app with caching
  • subscribe to GraphQL updates in a Dart program
  • bind GraphQL query results to Flutter widgets

Features

  • queries, mutations and subscriptions
  • in-memory and persistent caching
  • query polling and rebroadcasting
  • GraphQL uploads
  • optimistic results
  • operation cancellation

Limitations

  • Automatic persisted queries are marked out of service.1

Alternatives

The same job

These do what GraphQL Flutter does.

  1. Apollo Client GraphQL client for TypeScript and JavaScript with caching built in, for React, Vue, Angular and more

Compare GraphQL Flutter with the top 3