Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehttp

A composable, Future‑based library for making HTTP requests across platforms.

pub.devRemove
retrofit

Dart Dio client generator using source_gen

pub.devRemove
ScoresHealth8689 (best)
Maintenance6282 (best)
Quality100 (best)93
Popularity100 (best)96
Community8080
Compatibility100100
UsageDownloads (30 days)15M (best)705k
Likes8.5k (best)2.1k
Pub points160 / 160 (best)145 / 160
GitHub stars1.1k1.2k (best)
MaintenanceLatest release1.6.0, a year ago4.10.0, 3 months ago (best)
Major versions in 12 months00
Contributors100+100+
Publisherdart.devhitrevor.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies42 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowMedium
JudgementStrengths
  • Multi‑platform (mobile, web, desktop)
  • Simple, Future‑based API
  • Easy to mock for testing
  • Retry and abort capabilities
  • Automatic code generation reduces boilerplate
  • Strong type safety with Dart generics
  • Supports custom headers, query params, body extras
  • Extensible via CallAdapters and DartMappable parser
Weaknesses
  • No built‑in JSON serialization or auth helpers
  • Limited to low‑level HTTP, no higher‑level abstractions
  • No code generation
  • Requires build_runner and extra dev dependency
  • Adds compile‑time overhead
  • Tied to Dio, not the standard http client
Warnings
  • Quiet but busy
None
http vs retrofit: which Flutter package should you use? | pubscout