Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestructured_async

Structured asynchronous programming and cancellable futures for Dart.

pub.devRemove
sync

A Dart library providing Go‑style synchronization primitives for async code.

pub.devRemove
ScoresHealth3939
Maintenance00
Quality96 (best)72
Popularity1741 (best)
Community611 (best)
Compatibility100100
UsageDownloads (30 days)40936k (best)
Likes15 (best)7
Pub points150 / 160 (best)130 / 160
GitHub stars17 (best)13
MaintenanceLatest release0.3.2, 4 years ago (best)0.3.0, 6 years ago
Major versions in 12 months00
Contributors12 (best)
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Automatically cancels pending timers and futures when a CancellableFuture completes.
  • Propagates errors from unawaited child computations to the caller.
  • Provides group and stream helpers for managing multiple async operations easily.
  • Simple, well‑documented API
  • No external dependencies
  • Null‑safe and works on all platforms
Weaknesses
  • Completed futures and timers inside a cancelled scope will briefly awaken before terminating.
  • Isolates spawned inside a CancellableFuture do not terminate automatically without manual cleanup callbacks.
  • Limited to basic primitives, no advanced sync features
  • No built‑in support for condition variables or async queues
WarningsNoneNone
structured_async vs sync: which Flutter package should you use? | pubscout