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
stack

A Dart package providing a stack data structure with push, pop, size, length, and top functionalities.

pub.devRemove
ScoresHealth5050
Maintenance52 (best)1
Quality76100 (best)
Popularity98 (best)61
Community80 (best)23
Compatibility100100
UsageDownloads (30 days)14M (best)23k
Likes1.4k (best)38
Pub points140 / 160160 / 160 (best)
GitHub stars77 (best)18
MaintenanceLatest release1.19.1, 2 years ago (best)0.2.2, 3 years ago
Major versions in 12 months00
Contributors100+ (best)4
Publisherdart.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Comprehensive collection algorithms and equality utilities.
  • Extensive extension methods on standard iterables and lists.
  • Lightweight with no external dependencies.
  • Provides clear stack methods like push, pop, top, and size.
  • Supports null safety and works across multiple platforms including Android, iOS, web, and desktop.
  • Includes a Sized constructor to control stack size constraints.
Weaknesses
  • Does not provide reactive state management or automatic UI updates.
  • Limited in scope, handling only basic stack data structure features.
  • Throws an IllegalOperationException if top() or pop() is used on an empty stack.
Warnings
  • Quiet but busy
None
collection vs stack: which Flutter package should you use? | pubscout