Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedio_refresh

Dio interceptor for automatic token refresh and retry on API failures

pub.devRemove
dio_web_adapter

Web and WASM HTTP client adapter for Dio.

pub.devRemove
ScoresHealth7583 (best)
Maintenance83 (best)82
Quality97 (best)96
Popularity2959 (best)
Community6380 (best)
Compatibility100100
UsageDownloads (30 days)1.3k5.4M (best)
Likes13 (best)5
Pub points160 / 160 (best)150 / 160
GitHub stars1013k (best)
MaintenanceLatest release2.0.0, 5 weeks ago (best)2.2.2, 3 months ago
Major versions in 12 months10 (best)
Contributors5100+ (best)
Publisheriamdipanshus.influtter.cn
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies3 (best)4
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automatic token refresh and request retrying on API failures
  • Handles concurrent failures with a shared refresh lock to avoid duplicate refresh calls
  • Supports custom token validation and header generation
  • Supports both standard JS and WebAssembly (WASM) environments.
  • Enables file downloads on web using Blob URLs and browser download anchors.
  • Provides built-in CORS preflight warnings and enriched error messages.
Weaknesses
  • Tight coupling to the Dio HTTP client package
  • Uses a singleton TokenManager pattern which may limit multiple distinct auth sessions
  • Downloads must buffer the entire response into memory before triggering the browser download.
  • File append modes and local deleteOnError are not supported on web.
WarningsNoneNone
dio_refresh vs dio_web_adapter: which Flutter package should you use? | pubscout