FLUTTER ECOSYSTEM

graphql

A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.

Latest version
5.2.4
30-day downloads
486K
Likes
500
Pub points
135

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A standalone GraphQL client for Dart, designed to deliver modern GraphQL functionality in a simple and intuitive package. It enables seamless integration with GraphQL APIs across multiple platforms, offering features like query execution, mutation handling, subscription support, and caching. Built for developers who want a lightweight yet powerful solution without the overhead of larger frameworks. The client is well-suited for apps requiring real-time data, efficient state management, and clean API interactions.

Use cases
  • Fetching real-time data from GraphQL APIs
  • Implementing offline-first applications with caching
  • Building cross-platform apps with consistent data layer
  • Managing complex queries and mutations
  • Integrating with backend services using GraphQL
  • Supporting dynamic UIs driven by API responses
Key features
  • Full support for queries, mutations, and subscriptions
  • Built-in caching and response normalization
  • Cross-platform compatibility (Android, iOS, Web, macOS, Windows, Linux)
  • Easy-to-use API with minimal boilerplate
  • Type-safe operations via code generation
  • Error handling and retry mechanisms
Suitable for
  • Dart developers building modern apps with GraphQL
  • Teams seeking a lightweight alternative to full-featured clients
  • Projects requiring real-time data synchronization
  • Apps targeting multiple platforms with shared logic
  • Developers using Flutter with GraphQL backends
Considerations
  • Requires manual setup for code generation
  • May need additional configuration for advanced caching strategies
  • Best used with generated types for type safety
  • Limited built-in dev tools compared to web-based clients
  • Dependent on external schema definitions for strong typing
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add graphql

Categories

Dependencies

Dependency list 17 items

Related projects