flutter_solo 0.2.0
flutter_solo: ^0.2.0 copied to clipboard
State management for Flutter: sequential jobs, exclusive state ownership, cooperative cancellation, rebuilds through ValueListenable.
0.2.0 #
The first published release. 0.1.0 never left the tree.
SoloListenable<S>: aSolo<S>that is also aValueListenable<S>, forValueListenableBuilder,ListenableBuilder,AnimatedBuilderandListenable.merge. Listeners are called synchronously, in subscription order, on every state change; thestreamofSolostill works and arrives a microtask later.- Read-only on purpose:
valueandstateare the same object, and there is no setter — the state belongs to the jobs. close()cancels what is running, drops every listener and stops notifying for good; nothing else closes the controller for you.- Re-exports
package:solo/solo.dart, which re-exportspackage:async_job/async_job.dart, soflutter_solois the only dependency an app adds and the only import it writes. - Floor:
solo: ^0.2.0, whose job kernel isasync_job: ^0.2.0with synchronousjob.whenCancelled(callback)registration.
0.1.0 #
Never published.