Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehttp2

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

pub.devRemove
http_certificate_pinning

Https Certificate pinning for Flutter apps.

pub.devRemove
ScoresHealth91 (best)71
Maintenance99 (best)51
Quality93 (best)85
Popularity89 (best)79
Community8080
Compatibility85 (best)75
UsageDownloads (30 days)967k (best)32k
Likes97163 (best)
Pub points150 / 160 (best)125 / 160
GitHub stars1.1k (best)104
MaintenanceLatest release3.2.0, 5 days ago (best)3.0.2, 4 months ago
Major versions in 12 months10 (best)
Contributors100+ (best)19
Publisherdart.devsoftarch.dev
FitPlatformsAll (pure Dart)Android, iOS
WASM-readyNoNo
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies42 (best)
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • 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
  • Provides built-in interceptors and clients for popular networking libraries like Dio and http.
  • Supports checking certificates via SHA-1 and SHA-256 fingerprints.
Weaknesses
  • 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
  • Requires manual updating of certificate fingerprints in the app when server certificates rotate.
  • Limited documentation on platform-specific native setup or edge cases.
WarningsNone
  • Native setup
http2 vs http_certificate_pinning: which Flutter package should you use? | pubscout