solo
State management for Dart where the work has a lifecycle: one job at a
time, rules instead of flags, and a cancellation the body cannot walk
past by forgetting a check.
The three packages
Section titled “The three packages”| Package | What it is |
|---|---|
| solo | The controller: a queue with policies, state rules, children, accumulation. Pure Dart. |
| async_job | The kernel: cancellation, children and cleanup for one operation. Pure Dart, depends only on meta. |
| flutter_solo | The Flutter face: ValueListenable, select, listen. |
solo re-exports async_job, and flutter_solo re-exports solo, so one
dependency is enough.