Simple file-based non-volatile queue library for flutter.
Add dependency to
dependencies: ... flutter_persistent_queue: ^0.1.4
Run in your terminal:
flutter packages get
How it works
Each JSON-encodable item to be queued goes to its own non-volatile file on the
flutter-compatible devices. This particular design choice limits potential use
cases requiring very long queues but otherwise provides high performance with
very reduced resource usage, as it doesn't require serializing and deserializing
contiguous or chunked
dart:collections to the filesystem.