Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecached_value

A simple way to cache values that result from expensive operations.

pub.devRemove
result_dart

Kotlin and Swift inspired Result class for error handling in Dart and Flutter.

pub.devRemove
ScoresHealth5069 (best)
Maintenance45 (best)25
Quality100100
Popularity5277 (best)
Community4174 (best)
Compatibility100100
UsageDownloads (30 days)13k67k (best)
Likes25175 (best)
Pub points160 / 160160 / 160
GitHub stars3162 (best)
MaintenanceLatest release1.0.0, 2 years ago2.2.0, 9 months ago (best)
Major versions in 12 months00
Contributors17 (best)
Publisherblue-fire.xyzflutterando.com.br
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple and lightweight API for memory caching
  • Supports declarative dependency tracking and TTL out of the box
  • Useful for performance optimization in render objects and paint routines
  • Reduces boilerplate by defaulting failure types to Exception.
  • Includes a wide range of transformation and recovery operators.
  • Supports asynchronous workflows via AsyncResult typedef.
Weaknesses
  • Memory-only cache with no built-in disk persistence
  • Dependency callbacks are executed on every value access
  • Does not provide full functional programming suites like dartz or fpdart.
  • Requires adopting a Result return type convention throughout the codebase.
WarningsNoneNone
cached_value vs result_dart: which Flutter package should you use? | pubscout