Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeordered_set

Ordered Set that keeps elements sorted and allows duplicates by priority.

pub.devRemove
weak_map

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

pub.devRemove
ScoresHealth82 (best)80
Maintenance7590 (best)
Quality100 (best)96
Popularity71 (best)59
Community69 (best)46
Compatibility100100
UsageDownloads (30 days)172k (best)62k
Likes35 (best)19
Pub points160 / 160 (best)150 / 160
GitHub stars26 (best)21
MaintenanceLatest release8.0.1, 4 months ago4.1.3, 3 days ago (best)
Major versions in 12 months00
Contributors6 (best)2
Publisherblue-fire.xyzglasberg.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Allows duplicate priorities
  • Simple API with static constructors
  • Iterable implementation for easy traversal
  • Supports query registration and caching
  • Prevents memory leaks by not keeping keys alive
  • Built-in memoization and cache functions for immutable states
  • Pure Dart with zero dependencies
Weaknesses
  • No built‑in persistence or async support
  • Not a full data‑structure library (no tree traversal APIs)
  • No iteration, length, keys, or values methods on WeakMap by design
  • Requires immutable state objects for proper cache invalidation
WarningsNoneNone
ordered_set vs weak_map: which Flutter package should you use? | pubscout