Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeferry_generator

A Dart code generator to create fully typed OperationRequests for the ferry GraphQL client.

pub.devRemove
graphql_codegen

Generate Dart serializers and client helpers from GraphQL queries and schemas.

pub.devRemove
ScoresHealth7578 (best)
Maintenance87 (best)47
Quality6896 (best)
Popularity5186 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)6k159k (best)
Likes23152 (best)
Pub points120 / 160150 / 160 (best)
GitHub stars635 (best)159
MaintenanceLatest release0.12.0+6, 3 weeks ago (best)3.0.2, 5 months ago
Major versions in 12 months00
Contributors30 (best)17
Publishergql-dart.devheft.app
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1510 (best)
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Provides fully typed data structures for GraphQL queries, mutations, and subscriptions
  • Integrates smoothly with build_runner and the broader gql-dart ecosystem
  • Generates strong-typed classes for queries, mutations, and fragments
  • Supports custom scalars and custom enum transformations
  • Provides optional generated client extensions and cache manipulation helpers
Weaknesses
  • Requires running a code generator whenever GraphQL schemas or queries change
  • Adds multiple generated boilerplate dependencies to your project
  • Requires build_runner and code generation setup
  • Does not fetch your schema automatically
WarningsNoneNone
ferry_generator vs graphql_codegen: which Flutter package should you use? | pubscout