durable_queue_flutter 0.1.1
durable_queue_flutter: ^0.1.1 copied to clipboard
Flutter integration for durable_queue. Start the queue with the app, pause it in the background, and rebuild widgets from stored tasks.
0.1.1 #
DurableQueueScope(runQueue: false): the scope only provides the queue and does not start, pause, or resume it. Use it when something else runs the queue, such asLeasedQueueRunnerfromdurable_queue_workmanager.
0.1.0 #
- Initial release.
DurableQueueScope: provides aDurableQueueto a widget subtree (DurableQueueScope.of(context)), starts it, pauses it while the app is hidden or paused, and resumes it in the foreground. A pause made by the app is never undone. OptionalcloseOnDisposeandonStartError.DurableQueueLifecycle.attach(queue): the same lifecycle handling without a widget.QueueLifecycleController: the platform-independent rules, driven byAppVisibility.queue.watchTask(id)andqueue.watchGroup(group, status:): streams of stored tasks that update on queue events.QueueTaskBuilderandQueueGroupBuilder: widgets built on those streams.- Requires
durable_queue0.5.0 or later and Flutter 3.13 or later.