Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegraphql_2_rest

Converts GraphQL queries into REST-compatible POST bodies for any HTTP client.

pub.devRemove
http2

An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

pub.devRemove
ScoresHealth5091 (best)
Maintenance399 (best)
Quality100 (best)93
Popularity3588 (best)
Community4680 (best)
Compatibility100 (best)85
UsageDownloads (30 days)516965k (best)
Likes6497 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars31.1k (best)
MaintenanceLatest release2.0.0, 2 years ago3.2.0, 4 days ago (best)
Major versions in 12 months0 (best)1
Contributors2100+ (best)
Publisherdowhile.spacedart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • No external dependencies beyond Dart SDK.
  • Works with any HTTP client, including Dio, http, or custom clients.
  • Simple API with payload classes for arguments and inputs.
  • Supports multiplexing multiple requests over a single connection
  • Includes `Http2Client` for pooled `package:http` compatibility
  • Provides fine-grained control over frames, streams, and transport connections
Weaknesses
  • Does not handle GraphQL responses or errors automatically.
  • No schema validation or type safety for queries.
  • Limited to POST requests; does not support subscriptions or websockets.
  • Does not fall back to HTTP/1.1 if a server fails to negotiate HTTP/2
  • Requires handling low-level byte streams and header framing for custom requests
WarningsNoneNone
graphql_2_rest vs http2: which Flutter package should you use? | pubscout