Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemason_api

Dart API client for Mason CLI

pub.devRemove
retrofit

Dart Dio client generator using source_gen

pub.devRemove
ScoresHealth8289 (best)
Maintenance85 (best)82
Quality100 (best)93
Popularity5796 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)238k709k (best)
Likes72.1k (best)
Pub points160 / 160 (best)145 / 160
GitHub stars1.1k1.2k (best)
MaintenanceLatest release0.1.2, 2 months ago (best)4.10.0, 3 months ago
Major versions in 12 months00
Contributors27100+ (best)
Publisherbrickhub.devhitrevor.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies62 (best)
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Simple API, no code generation required
  • Supports custom hosted URI
  • Built on stable http package
  • Lightweight
  • 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
  • Limited to Mason server features
  • No advanced networking features like retries or interceptors
  • No built-in error handling beyond basic exceptions
  • Requires build_runner and extra dev dependency
  • Adds compile‑time overhead
  • Tied to Dio, not the standard http client
WarningsNoneNone
mason_api vs retrofit: which Flutter package should you use? | pubscout