flutter_task_queue

A simple and flexible task queue library, supporting both serial and parallel execution, as well as task cancellation functionality, suitable for Flutter and Dart projects.

Features

  • ✅ Serial and parallel task execution
  • ✅ Task cancellation support
  • ✅ Result-based task handling
  • ✅ Type-safe generic support
  • ✅ Delayed and retry task execution

Installation

Add the dependency in pubspec.yaml:

dependencies:
  flutter_task_queue: ^1.0.0

Then run:

flutter pub get

Usage

Please check the example.

Example

See the example directory for a complete sample app.

License

The project is under the MIT license.

Libraries

flutter_task_queue