Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefresh_dio

A dio interceptor for automatic token refresh and authentication management.

pub.devRemove
http2

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

pub.devRemove
ScoresHealth8291 (best)
Maintenance6499 (best)
Quality100 (best)93
Popularity7789 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)22k967k (best)
Likes169 (best)97
Pub points160 / 160 (best)150 / 160
GitHub stars4291.1k (best)
MaintenanceLatest release0.6.0, 9 months ago3.2.0, 5 days ago (best)
Major versions in 12 months0 (best)1
Contributors19100+ (best)
Publisherfelangel.devdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Automatic token refresh and proactive refreshing before requests
  • Single-flight refresh prevents duplicate concurrent refresh calls
  • Pluggable token storage and custom token formats supported
  • 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
  • Tied specifically to package:dio
  • 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
fresh_dio vs http2: which Flutter package should you use? | pubscout