Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecollection

Utility functions and classes that extend Dart's collection types and algorithms.

pub.devRemove
weak_map

A map whose keys are weakly held, and cache functions for memoization.

pub.devRemove
ScoresHealth5080 (best)
Maintenance5290 (best)
Quality7696 (best)
Popularity98 (best)59
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)14M (best)62k
Likes1.4k (best)19
Pub points140 / 160150 / 160 (best)
GitHub stars77 (best)21
MaintenanceLatest release1.19.1, 2 years ago4.1.3, 4 days ago (best)
Major versions in 12 months00
Contributors100+ (best)2
Publisherdart.devglasberg.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Comprehensive collection algorithms and equality utilities.
  • Extensive extension methods on standard iterables and lists.
  • Lightweight with no external dependencies.
  • Prevents memory leaks by not keeping keys alive
  • Built-in memoization and cache functions for immutable states
  • Pure Dart with zero dependencies
Weaknesses
  • Does not provide reactive state management or automatic UI updates.
  • No iteration, length, keys, or values methods on WeakMap by design
  • Requires immutable state objects for proper cache invalidation
Warnings
  • Quiet but busy
None
collection vs weak_map: which Flutter package should you use? | pubscout