Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Stream-based strongly typed GraphQL client for Dart

A simple, powerful GraphQL Client for Flutter and Dart

Documentation 

Features

  1.  Fully Typed: work faster and safer with compile time checks and IDE autocomplete, including fully typed Cache reads and writes.
  2.  Built-In Code Generators: automatically generated immutable data classes for all your GraphQL Operations and Fragments, based on your schema.
  3.  Customizable Network Interface: highly customizable network interface using gql_link, allowing you to compose and extend Links.
  4.  Normalized Optimistic Cache: keep data in sync with cache normalization and update your UI instantly with optimistic data.
  5.  Multiple Data Stores: extensible Store interface with built-in MemoryStore and HiveStore (which uses hive for offline persistence).
  6.  Refetch & Pagination: easily update responses with new data or combine multiple responses, allowing for seamless pagination.
  7.  Flutter Widgets: Widgets for Queries, Mutations, and Subscriptions, available out of the box.

Packages

This repo is a monorepo for ferry and related packages.

PubPackageDescription
package:ferryStream-based GraphQL Client
package:ferry_cacheNormalized, strongly typed, optimistic cache
package:ferry_execStrongly typed GraphQL execution interface
package:ferry_flutterFlutter Widgets for GraphQL Operations
package:ferry_generatorDart Type Generator for GraphQL Operations
package:ferry_storeData Persistence for ferry‘s cache
package:ferry_hive_storeHive implementation of ferry_store
package:normalizeNormalization / denormalization of GraphQL data

Download Stream-based strongly typed GraphQL client package source code on GitHub

https://github.com/gql-dart/ferry

Exit mobile version