Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelazy_memo

Cached lazy variables and memoized functions for Dart.

pub.devRemove
memoize

Returns cached result of function call when inputs were not changed from previous invocation.

pub.devRemove
ScoresHealth72 (best)50
Maintenance82 (best)0
Quality94 (best)72
Popularity3766 (best)
Community4152 (best)
Compatibility100100
UsageDownloads (30 days)23k73k (best)
Likes533 (best)
Pub points160 / 160 (best)130 / 160
GitHub stars527 (best)
MaintenanceLatest release2.0.1, 5 weeks ago (best)3.0.0, 6 years ago
Major versions in 12 months20 (best)
Contributors13 (best)
Publishersimphotonics.comwrike.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Supports cache invalidation and re-initialization for lazy variables.
  • Includes specialized collection wrappers like LazyList, LazySet, and LazyMap.
  • Provides memoized function builders to avoid repeated expensive calculations.
  • Simple and lightweight with no external dependencies.
  • Supports multiple argument counts up to 10.
Weaknesses
  • Memoization comes at the cost of additional indirections and higher memory usage.
  • Requires manual maintenance of function tables or cache states.
  • In-memory caching only, does not persist data.
  • Limited to a maximum of 10 arguments per function.
WarningsNoneNone
lazy_memo vs memoize: which Flutter package should you use? | pubscout