Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedouble_linked_list

A generic double linked list data structure for Dart and Flutter.

pub.devRemove
ensure_initialized

Allows to await for an object's heavy initialization before using it.

pub.devRemove
ScoresHealth42 (best)39
Maintenance00
Quality96100 (best)
Popularity35 (best)15
Community66
Compatibility100100
UsageDownloads (30 days)7.1k (best)925
Likes11 (best)9
Pub points150 / 160160 / 160 (best)
GitHub stars6 (best)3
MaintenanceLatest release2.0.1, 5 years ago0.1.0, 5 years ago (best)
Major versions in 12 months00
Contributors11
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Constant time insertions and deletions at both ends and relative to any node.
  • Supports many common Iterable methods like map, where, reduce, and fold.
  • Simple mixin-based API for making any class awaitable until ready
  • Supports initialization results and error propagation
  • Provides streams to listen to initialization and uninitialization events
Weaknesses
  • Improper iteration while mutating the list can lead to infinite loops if not handled carefully.
  • Lacks random access by index.
  • Manual management of lifecycle states (calling initializedSuccessfully or initializedWithError)
  • Limited built-in orchestration beyond mixin methods
WarningsNoneNone
double_linked_list vs ensure_initialized: which Flutter package should you use? | pubscout